Skip to content

Commit

Permalink
Fix the failure message for absorber 1D test (NanoComp#1859)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahoenselaar authored and Mo Chen committed Feb 16, 2022
1 parent 806c404 commit 0b86ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/absorber-1d-ll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ int main(int argc, char *argv[]) {
fabs(fFinal - fFinal_ref) > 1.0e-6 * fabs(fFinal_ref)) {
master_printf("{f50, tFinal, fFinal}={%e,%e,%e}\n", f50, tFinal, fFinal);
master_printf(" should be:\n");
master_printf("{f50, tFinal, fFinal}={%e,%e,%e}\n", f50, tFinal, fFinal);
master_printf("{f50, tFinal, fFinal}={%e,%e,%e}\n", f50_ref, tFinal_ref, fFinal_ref);
meep::abort("Test failed.");
}
else if (verbose)
Expand Down

0 comments on commit 0b86ad0

Please sign in to comment.