Skip to content

Commit 03630d3

Browse files
committed
Another minor fix
1 parent 23dbd2e commit 03630d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/eamxx/src/physics/p3/tests/p3_run_and_cmp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ struct Baseline {
123123

124124
Int run_and_cmp (const std::string& filename, const double& tol, bool no_baseline) {
125125
ekat::FILEPtr fid;
126-
if (no_baseline) {
126+
if (!no_baseline) {
127127
fid = ekat::FILEPtr(fopen(filename.c_str(), "r"));
128128
EKAT_REQUIRE_MSG( fid, "generate_baseline can't read " << filename);
129129
}

0 commit comments

Comments
 (0)