Skip to content

Commit

Permalink
Merge pull request #1036 from williamfgc/global_vars
Browse files Browse the repository at this point in the history
Solves #1033
  • Loading branch information
williamfgc committed Dec 5, 2018
2 parents bae9c99 + 7462c7b commit db7ee42
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/adios2/engine/bp3/BP3Writer.tcc
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ void BP3Writer::PutSyncCommon(Variable<T> &variable,
template <class T>
void BP3Writer::PutDeferredCommon(Variable<T> &variable, const T *data)
{
if (variable.m_SingleValue)
{
DoPutSync(variable, data);
return;
}

const typename Variable<T>::Info blockInfo =
variable.SetBlockInfo(data, CurrentStep());
m_BP3Serializer.m_DeferredVariables.insert(variable.m_Name);
Expand Down

0 comments on commit db7ee42

Please sign in to comment.