Skip to content

Commit e220bf7

Browse files
committed
EAMxx: fix define_var call for avg count var in IO
1 parent ab379b8 commit e220bf7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/eamxx/src/share/io/scorpio_output.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,8 +758,7 @@ register_variables(const std::string& filename,
758758
// Note, unlike with regular output variables, for the average counting
759759
// variables we don't need to add all of the extra metadata. So we simply
760760
// define the variable.
761-
scorpio::define_var(filename, name, unitless, dimnames,
762-
"real",fp_precision, m_add_time_dim);
761+
scorpio::define_var(filename, name, dimnames, "int", m_add_time_dim);
763762
}
764763
}
765764
} // register_variables

0 commit comments

Comments
 (0)