Skip to content

Commit

Permalink
fixed an error
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonRuonanWang committed Nov 13, 2020
1 parent f814ba1 commit e95ef9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/adios2/toolkit/format/dataman/DataManSerializer.tcc
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,10 @@ void DataManSerializer::PutData(

size_t datasize = 0;
bool compressed = false;
std::string compressionMethod;
if (not ops.empty())
{
std::string compressionMethod = ops[0].Op->m_Type;
compressionMethod = ops[0].Op->m_Type;
std::transform(compressionMethod.begin(), compressionMethod.end(),
compressionMethod.begin(), ::tolower);
if (compressionMethod == "zfp")
Expand Down

0 comments on commit e95ef9d

Please sign in to comment.