Skip to content

Commit

Permalink
ADIOS Writer: Fix timeOffset
Browse files Browse the repository at this point in the history
`timeOffset` should be a scalar, not an array.
  • Loading branch information
ax3l committed Nov 25, 2019
1 parent 431ae94 commit db23a82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ struct ParticleAttributeSize
const float_X timeOffset = 0.0;
ADIOS_CMD(adios_define_attribute_byvalue(params->adiosGroupHandle,
"timeOffset", recordPath.c_str(),
adiosFloatXType.type, 7, (void*)&timeOffset ));
adiosFloatXType.type, 1, (void*)&timeOffset ));

}

Expand Down

0 comments on commit db23a82

Please sign in to comment.