Skip to content

Commit c20127b

Browse files
committed
fix: Division is not commutative.
1 parent e74c0ba commit c20127b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/DataFrame/Internal/Expression.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ instance (Fractional a, Columnable a) => Fractional (Expr a) where
132132
{ binaryFn = (/)
133133
, binaryName = "divide"
134134
, binarySymbol = Just "/"
135-
, binaryCommutative = True
135+
, binaryCommutative = False
136136
, binaryPrecedence = 7
137137
}
138138
)

0 commit comments

Comments
 (0)