Skip to content

Commit e90ffee

Browse files
committed
EAMxx: fix declaring of f
1 parent 5bd72c9 commit e90ffee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/eamxx/src/diagnostics/conditional_sampling.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ void ConditionalSampling::initialize_impl(const RunType /*run_type*/) {
266266
}
267267

268268
void ConditionalSampling::compute_diagnostic_impl() {
269-
Field &f;
269+
Field f;
270270
if (m_input_f == "count") {
271271
// Special case: if the input field is "count", we use the diagnostic output as the input
272272
f = m_diagnostic_output;

0 commit comments

Comments
 (0)