Skip to content

Commit

Permalink
Fix type of bitmapPresent in interpolate
Browse files Browse the repository at this point in the history
  • Loading branch information
geier1993 committed Jul 25, 2024
1 parent da2926c commit 940cbff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/multio/action/interpolate-fesom/InterpolateFesom.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void fill_metadata(const message::Metadata& in_md, message::Metadata& out_md, si
out_md.set<std::int64_t>("Nside", NSide);
out_md.set<std::int64_t>("globalSize", globalSize);
out_md.set("precision", outputPrecision == util::PrecisionTag::Float ? "single" : "double");
out_md.set<bool>("bitmapPresent", 1);
out_md.set<bool>("bitmapPresent", true);
out_md.set("missingValue", missingValue);
INTERPOLATE_FESOM_OUT_STREAM << " - exit fill_metadata" << std::endl;
return;
Expand Down
2 changes: 1 addition & 1 deletion src/multio/action/interpolate/Interpolate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ message::Message Interpolate::InterpolateMessage<double>(message::Message&& msg)
double v;
outMetadata.get("missing_value", v);
md.set("missingValue", v);
md.set("bitmapPresent", 1);
md.set("bitmapPresent", true);
}

eckit::Buffer buffer(reinterpret_cast<const char*>(outData.data()), outData.size() * sizeof(double));
Expand Down

0 comments on commit 940cbff

Please sign in to comment.