Changed Int div implementation to use !=

This commit is contained in:
Chad Stearns 2020-05-01 17:17:41 -04:00
parent 71258e0e59
commit 6b6e6f0eec

View File

@ -128,7 +128,7 @@ fn int_div(var_store: &VarStore) -> Def {
no_region(
// Int.eq denominator 0
call(
Symbol::INT_EQ_I64,
Symbol::INT_NEQ_I64,
vec![
Var(Symbol::INT_DIV_ARG_DENOMINATOR),
(Int(var_store.fresh(), 0)),