Skip to content
Snippets Groups Projects
Commit 6daf6084 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Fix typo: loop index was wrong

In principle, a serious bug: but for dimworld=3d (i.e., the standard)
this loop was never executed anyway.  Hence there were no serious
consequences.
parent 4ff7504a
No related branches found
No related tags found
No related merge requests found
Pipeline #3084 failed
...@@ -446,7 +446,7 @@ RT energy(const typename Basis::LocalView& localView, ...@@ -446,7 +446,7 @@ RT energy(const typename Basis::LocalView& localView,
{ {
for (int j=0; j<dimworld; j++) for (int j=0; j<dimworld; j++)
aCovariant[i][j] = jacobianTransposed[i][j]; aCovariant[i][j] = jacobianTransposed[i][j];
for (int j=dimworld; j<3; i++) for (int j=dimworld; j<3; j++)
aCovariant[i][j] = 0.0; aCovariant[i][j] = 0.0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment