Skip to content

Commit 97063d8

Browse files
committed
Fix typo in shapeOfTheEarth matcher
1 parent 47ef2ad commit 97063d8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/metkit/mars2grib/backend/concepts/shape-of-the-earth/shapeOfTheEarthMatcher.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ std::size_t shapeOfTheEarthMatcher(const MarsDict_t& mars, const OptDict_t& opt)
6464

6565
// This is used to fully delegate section3 setting to gridSpec
6666
if (metkit::mars2grib::utils::skipSection3(opt)) {
67-
return static_cast<std::size_t>(RepresentationType::Dummy);
67+
return static_cast<std::size_t>(ShapeOfTheEarthType::Dummy);
6868
}
6969

7070
// NOTE: Spherical harmonics is encoded without shape of the earth

src/metkit/mars2grib/frontend/resolution/section-recipes/impl/section3Recipes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ inline const Recipe S3_R150 =
6868

6969
// This is just meant to skip the section3 resolution in order to allow gridspec do be used after the encoder
7070
inline const Recipe S3_R1000 =
71-
make_recipe<0,
71+
make_recipe<1000,
7272
Select<ShapeOfTheEarthConcept,
7373
ShapeOfTheEarthType::Dummy>,
7474
Select<RepresentationConcept,

0 commit comments

Comments
 (0)