From 1afe80d31aef91764e389f2038994bc78f5cce91 Mon Sep 17 00:00:00 2001 From: Erica Fischer Date: Fri, 1 Nov 2024 09:31:35 -0700 Subject: [PATCH] Remove accidental double-conversion --- attribute.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attribute.cpp b/attribute.cpp index b8232092..ec3c6ab3 100644 --- a/attribute.cpp +++ b/attribute.cpp @@ -220,7 +220,7 @@ void preserve_attribute(attribute_op const &op, std::string const &key, mvt_valu return; case op_product: - full_values[i] = mvt_value_to_double(full_values[i].to_double() * val.to_double()); + full_values[i] = mvt_value(full_values[i].to_double() * val.to_double()); return; case op_max: {