Skip to content

Commit

Permalink
Fix the failure message for absorber 1D test (#1859)
Browse files Browse the repository at this point in the history
ahoenselaar authored Dec 20, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 515013a commit 5f51d1c
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
@@ -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)

0 comments on commit 5f51d1c

Please sign in to comment.