Commit 92af54632eaf899f4dc1f53e894d88d5a12fb0c8
1 parent
65fea2b1
Reduce precision for model fitting value testing (differences between Linux and Mac OS X observed)
Showing
1 changed file
with
2 additions
and
2 deletions
inst/cta/test/test_CTA.cpp
| ... | ... | @@ -2485,10 +2485,10 @@ void TestGCTAOptimize::check_results(const GObservations& obs, |
| 2485 | 2485 | GModelPar par = (*model)[k]; |
| 2486 | 2486 | std::string msg = "Verify optimization result for " + par.print(); |
| 2487 | 2487 | test_value(par.value(), results[j], |
| 2488 | - std::abs(1.0e-4*results[j]), msg); | |
| 2488 | + std::abs(1.0e-3*results[j]), msg); | |
| 2489 | 2489 | j++; |
| 2490 | 2490 | test_value(par.error(), results[j], |
| 2491 | - std::abs(1.0e-4*results[j]), msg); | |
| 2491 | + std::abs(1.0e-3*results[j]), msg); | |
| 2492 | 2492 | j++; |
| 2493 | 2493 | } |
| 2494 | 2494 | } | ... | ... |