File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ bool ParticleSystem::EvaluationCompare(const ParticleSystem& other) const
94
94
std::cout << " Comparing generalization: " << gen1[0 ] << " vs " << gen2[0 ] << " : " ;
95
95
double diff = std::abs (gen1[0 ] - gen2[0 ]);
96
96
if ((diff > 0.1 * gen1[0 ] || diff > 0.1 * gen2[0 ]) && !epsEqual (gen1[0 ], gen2[0 ], 0.1 )) {
97
- std::cout << " different\n " ;
97
+ std::cout << " different ( " << diff << " ) \n " ;
98
98
good = false ;
99
99
} else {
100
100
std::cout << " ok\n " ;
@@ -109,8 +109,8 @@ bool ParticleSystem::EvaluationCompare(const ParticleSystem& other) const
109
109
if (spec1.size () > 0 && spec2.size () > 0 ) {
110
110
std::cout << " Comparing specificity: " << spec1[0 ] << " vs " << spec2[0 ] << " : " ;
111
111
double diff = std::abs (spec1[0 ] - spec2[0 ]);
112
- if (diff > 0.20 * spec1[0 ] || diff > 0.20 * spec2[0 ]) {
113
- std::cout << " different\n " ;
112
+ if (diff > 0.25 * spec1[0 ] || diff > 0.25 * spec2[0 ]) {
113
+ std::cout << " different ( " << diff << " ) \n " ;
114
114
good = false ;
115
115
} else {
116
116
std::cout << " ok\n " ;
You can’t perform that action at this time.
0 commit comments