Skip to content

Commit

Permalink
Fix infinite loop in arrow head Jacobian test
Browse files Browse the repository at this point in the history
Fixes an accidental recursive call resulting in an infinite loop in the
Jacobian arrow head structure test.
  • Loading branch information
sleweke-bayer authored and sleweke committed Jun 8, 2021
1 parent cb14767 commit 0459ec1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/ColumnTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,8 @@ namespace column

void testArrowHeadJacobianFD(const std::string& uoType, double h, double absTol, double relTol)
{
testArrowHeadJacobianFD(uoType, h, absTol, relTol);
cadet::JsonParameterProvider jpp = createColumnWithTwoCompLinearBinding(uoType);
testArrowHeadJacobianFD(jpp, h, absTol, relTol);
}

void testArrowHeadJacobianFD(const std::string& uoType, bool dynamicBinding, double h, double absTol, double relTol)
Expand Down

0 comments on commit 0459ec1

Please sign in to comment.