Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSiebert1 committed Nov 27, 2024
1 parent 8e1b0ba commit 751bbe9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion ADOL-C/boost-test/traceOperatorVector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3169,7 +3169,6 @@ BOOST_AUTO_TEST_CASE(FminOperator_FOV_Forward_3) {
aDerivative = std::fmin(xd[0][0], 0.0);
bDerivative = std::fmin(xd[0][1], 0.0);


fov_forward(1, 1, 1, 2, x, xd, y, yd);

BOOST_TEST(*y == a, tt::tolerance(tol));
Expand Down
9 changes: 3 additions & 6 deletions ADOL-C/src/uni5_for.c
Original file line number Diff line number Diff line change
Expand Up @@ -4215,10 +4215,8 @@ int hov_forward(

FOR_0_LE_l_LT_p {
Targ = Tqo;
if (Targ ==
NULL) /* e.g. dp_T0[arg1] ==
dp_T0[arg2] */
{
/* e.g. dp_T0[arg1] == dp_T0[arg2] */
if (Targ == NULL) {
Targ1OP = Targ1;
Targ2OP = Targ2;
FOR_0_LE_i_LT_k {
Expand All @@ -4232,8 +4230,7 @@ int hov_forward(
VEC_INC(Targ1, k - i)
VEC_INC(Targ2, k - i)
BREAK_FOR_I
}
else{
} else {
Targ1++;
Targ2++;

Check warning on line 4235 in ADOL-C/src/uni5_for.c

View check run for this annotation

Codecov / codecov/patch

ADOL-C/src/uni5_for.c#L4234-L4235

Added lines #L4234 - L4235 were not covered by tests
}
Expand Down

0 comments on commit 751bbe9

Please sign in to comment.