File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ TEST_CASE("reverse mode" * dt::test_suite("[autodiff]")) {
264
264
265
265
auto f1 = std::isfinite (jjet.sum ());
266
266
auto f2 = std::isfinite (jrev.sum ());
267
- auto ok = (!f1) || (f1 && f2 && jrev.isApprox (jjet, epsilon));
267
+ auto ok = (!f1 && !f2 ) || (f1 && f2 && jrev.isApprox (jjet, epsilon));
268
268
269
269
if (f1 && f2) {
270
270
for (auto const & n : tree.Nodes ()) {
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ namespace Operon::Test {
65
65
// used by some Langdon & Banzhaf papers as benchmark for measuring GPops/s
66
66
TEST_CASE (" Evaluation performance" )
67
67
{
68
- constexpr size_t n = 10000 ;
68
+ constexpr size_t n = 1000 ;
69
69
constexpr size_t maxLength = 64 ;
70
70
constexpr size_t maxDepth = 1000 ;
71
71
constexpr size_t nrow = 12800 ;
You can’t perform that action at this time.
0 commit comments