Skip to content

Commit 6565712

Browse files
committed
CI caught silly error, now fixed
1 parent 69fc9f0 commit 6565712

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/utils/output_verification.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@
5151
template< typename fileType >
5252
int data_fscanf( const fileType in, double * const out ) {
5353
const int rc = fscanf( in, "%lf", out );
54-
if( rc != 1 ) {
54+
if( rc == 1 ) {
5555
return 0;
5656
} else {
57-
return rc;
57+
return 1;
5858
}
5959
};
6060

0 commit comments

Comments
 (0)