From 5d6ff2eadc8dfcdb9406ec8809283cb50b855444 Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Wed, 19 Oct 2016 23:02:33 -0700 Subject: [PATCH] Fix unit conversion in division. --- lib/src/value/number.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/value/number.dart b/lib/src/value/number.dart index 448ece7e..a94c3cd3 100644 --- a/lib/src/value/number.dart +++ b/lib/src/value/number.dart @@ -533,7 +533,7 @@ class SassNumber extends Value { removeFirstWhere/**/(mutableDenominators2, (denominator) { var factor = _conversionFactor(numerator, denominator); if (factor == null) return false; - value *= factor; + value /= factor; return true; }, orElse: () { newNumerators.add(numerator);