Skip to content

Commit

Permalink
mv fct
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSiebert1 committed Nov 7, 2024
1 parent 96c802e commit 9ff6e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ADOL-C/boost-test/traceFixedPointScalarTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ static double traceNewtonForSquareRoot(int tapeNumber, int subTapeNumber, double
*/
BOOST_AUTO_TEST_CASE(NewtonScalarFixedPoint_zos_forward)
{
ensureContiguousLocations(100);
// Compute the square root of 2.0
const double argument[1] = {2.0};
double out = traceNewtonForSquareRoot(1, // tape number
Expand All @@ -86,7 +87,6 @@ BOOST_AUTO_TEST_CASE(NewtonScalarFixedPoint_zos_forward)
BOOST_TEST(out == std::sqrt(argument[0]), tt::tolerance(tol));

double value[1];
ensureContiguousLocations(100);
zos_forward(1, // Tape number
1, // Number of dependent variables
1, // Number of indepdent variables
Expand Down

0 comments on commit 9ff6e61

Please sign in to comment.