From 21f5e1778e3bf764dc1a7678e560eec4f1f492e5 Mon Sep 17 00:00:00 2001 From: Angus Griffith <16sn6uv@gmail.com> Date: Mon, 4 Jul 2016 02:24:03 +0200 Subject: [PATCH] implement Indeterminate using sympy.nan --- mathics/builtin/arithmetic.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mathics/builtin/arithmetic.py b/mathics/builtin/arithmetic.py index 0529afaf2f..6cd183f936 100644 --- a/mathics/builtin/arithmetic.py +++ b/mathics/builtin/arithmetic.py @@ -1087,7 +1087,7 @@ def evaluate(self, evaluation): return Complex(sympy.Integer(0), sympy.Integer(1)) -class Indeterminate(Builtin): +class Indeterminate(SympyConstant): """