Skip to content

Commit 6f6b878

Browse files
committed
Remove redundant m_transpose check in output interface
1 parent 56ba62f commit 6f6b878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,8 @@ void AtmosphereOutput::init()
350350
const std::string helper_name = "transposed_"+helper_layout.to_string();
351351
if (m_helper_fields.find(helper_name == m_helper_fields.end()) {
352352
// We can add a new helper field for this layout
353-
const auto helper_layout = m_transpose ? layout.transpose() : layout;
354353
using namespace ekat::units;
354+
const auto helper_layout = layout.transpose();
355355
FieldIdentifier fid_helper(helper_name,helper_layout,Units::invalid(),fid.get_grid_name());
356356
Field helper(fid_helper);
357357
helper.get_header().get_alloc_properties().request_allocation();

0 commit comments

Comments
 (0)