From 2bee569fbd179dcb0a5e085b1cf825d1cfd96539 Mon Sep 17 00:00:00 2001 From: Pedro Maciel Date: Mon, 18 Mar 2024 06:29:28 +0000 Subject: [PATCH] MIR-646 earthkit-regrid support with interpolationspec, simplify the common cases --- src/mir/method/MethodWeighted.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mir/method/MethodWeighted.cc b/src/mir/method/MethodWeighted.cc index 5d093b33a..b602cc22b 100644 --- a/src/mir/method/MethodWeighted.cc +++ b/src/mir/method/MethodWeighted.cc @@ -308,8 +308,7 @@ const WeightMatrix& MethodWeighted::getMatrix(context::Context& ctx, const repre std::ostringstream ss; eckit::JSON k(ss); k << method; - auto x = (eckit::MD5() << ss.str()).digest(); - return x; + return (eckit::MD5() << ss.str()).digest(); }(*this)); it != KNOWN_METHOD.end()) { j << "method" << it->second;