Skip to content

Commit d22775d

Browse files
committed
Fix warnings in tests
1 parent b33cd72 commit d22775d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_jacobian-shape.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ TEST(JacobianMatrixShape, Definition)
4545
explicit TestJacobian(TestRHS rhs) : JacobianMatrixShape(rhs)
4646
{
4747
add_element(0, {0, 1});
48-
add_element(1, {1}); // Missing element (1, 0) on purpose
48+
add_element(1, 1); // Missing element (1, 0) on purpose
4949
}
5050
};
5151

@@ -78,7 +78,7 @@ TEST(JacobianMatrixShape, DefinitionInline)
7878
jac.reserve(2);
7979

8080
jac.add_element(0, {0, 1});
81-
jac.add_element(1, {1}); // Missing element (1, 0) on purpose
81+
jac.add_element(1, 1); // Missing element (1, 0) on purpose
8282

8383
sparse_matrix J;
8484
state_vector x{4.0, 6.0};

0 commit comments

Comments
 (0)