Skip to content

Commit

Permalink
useless getval
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Cornu committed Oct 30, 2024
1 parent 6b3a0ac commit 46df5fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nrniv/matrixmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void MatrixMap::mmfree() {
void MatrixMap::add(double fac) {
for (int i = 0; i < plen_; ++i) {
auto [it, jt] = pm_[i];
*ptree_[i] += fac * m_.getval(it, jt);
*ptree_[i] += fac * m_(it, jt);
}
}

Expand Down

0 comments on commit 46df5fe

Please sign in to comment.