Skip to content
Snippets Groups Projects
Verified Commit 32276d91 authored by Justin Carpentier's avatar Justin Carpentier Committed by Justin Carpentier
Browse files

[Test/AutoDiff] Test abs call

parent 6237db3b
No related branches found
No related tags found
No related merge requests found
......@@ -204,4 +204,11 @@ BOOST_AUTO_TEST_SUITE(BOOST_TEST_MODULE)
}
BOOST_AUTO_TEST_CASE(test_abs)
{
CppAD::AD<double> ad_value;
ad_value = -1.;
abs(ad_value);
}
BOOST_AUTO_TEST_SUITE_END()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment