Skip to content

Commit

Permalink
Remove accidental double-conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
e-n-f committed Nov 1, 2024
1 parent 00321b9 commit 1afe80d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attribute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 1afe80d

Please sign in to comment.