mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-02 14:08:05 +01:00
Tolerance and more coverage
This commit is contained in:
1 parent
21abaf7e91
commit
02198ac5b5
1 file changed
+1
-1
+1
-1
@@ -145,7 +145,7 @@ void Tester(const functor &func)
|
||||
|
||||
int ok=0;
|
||||
for(int i=0;i<Nsimd;i++){
|
||||
if ( abs(reference[i]-result[i])>0){
|
||||
if ( abs(reference[i]-result[i])>1.0e-7){
|
||||
std::cout<<GridLogMessage<< "*****" << std::endl;
|
||||
std::cout<<GridLogMessage<< "["<<i<<"] "<< abs(reference[i]-result[i]) << " " <<reference[i]<< " " << result[i]<<std::endl;
|
||||
ok++;
|
||||
|
||||
Reference in new issue
Block a user