Skip to content

Commit

Permalink
Fix bug in test_inv_jacobian
Browse files Browse the repository at this point in the history
I appear to be the first to try to use the function...
  • Loading branch information
kidder committed Dec 13, 2024
1 parent 6a7e65f commit 7965520
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ void test_inv_jacobian(const Map& map,
for (size_t j = 0; j < Map::dim; ++j) {
for (size_t l = 0; l < jacobian.get(0, 0).size(); l++) {
for (size_t k = 0; k < Map::dim; ++k) {
identity.get(i, j)[k] += gsl::at(jacobian.get(i, k), l) *
identity.get(i, j)[l] += gsl::at(jacobian.get(i, k), l) *
gsl::at(inv_jacobian.get(k, j), l);
}
}
Expand Down

0 comments on commit 7965520

Please sign in to comment.