Hi everybody,

in my Notebook (version 3.2.3) I get the following:

sage: a = float(1>1)
sage: a

0.0

sage: var('x')
sage: b(x) = float(x>1)

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/campos/.sage/sage_notebook/worksheets/admin/4/code/
204.py", line 8, in <module>
    _=var("x");b=symbolic_expression(float(x>_sage_const_1 )).function
(x)
  File "/Applications/sage/local/lib/python2.5/site-packages/
SQLAlchemy-0.4.6-py2.5.egg/", line 1, in <module>

TypeError: float() argument must be a string or a number

... is this a normal behaviour for float()? And sorry is this is a
silly question!
-- Martin

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to