instantiate variables in numerical comparisons

This commit is contained in:
Mark Thom
2019-04-22 18:54:03 -06:00
parent 29848a51ee
commit f745b077a9
2 changed files with 10 additions and 2 deletions

View File

@@ -251,7 +251,7 @@ pub enum EvalError {
// FloatOverflow,
// IntOverflow,
// Undefined,
// Underflow,
// FloatUnderflow,
ZeroDivisor,
NoRoots
}
@@ -262,7 +262,7 @@ impl EvalError {
// EvalError::FloatOverflow => "float_overflow",
// EvalError::IntOverflow => "int_overflow",
// EvalError::Undefined => "undefined",
// EvalError::Underflow => "underflow",
// EvalError::FloatUnderflow => "underflow",
EvalError::ZeroDivisor => "zero_divisor",
EvalError::NoRoots => "no_roots"
}