Skip to content

Commit

Permalink
test: fix trigger for nan
Browse files Browse the repository at this point in the history
  • Loading branch information
fnrizzi committed Oct 6, 2021
1 parent 6db7afd commit 224b145
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct FakeProblem
std::cout << "RESIDUAL CALL " << count_ << std::endl;
res.setConstant(1.);
if (count_==2){
res(2) = std::numeric_limits<double>::quiet_NaN();
res(2) = std::sqrt(-1); //std::numeric_limits<double>::quiet_NaN();
}
}

Expand Down

0 comments on commit 224b145

Please sign in to comment.