Changeset 6133:668f3c81dd88


Ignore:
Timestamp:
09/05/07 15:17:57 (6 years ago)
Author:
was@…
Branch:
default
Children:
6134:3f4ae1a238f6, 6160:6fb3b03638f0
Message:

Fix a weird issue with re's in calculus module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sage/calculus/calculus.py

    r6129 r6133  
    49154915maxima_var = re.compile("\%[a-z|A-Z|0-9|_]*")  # e.g., ?%jacobi_cd 
    49164916 
     4917sci_not = re.compile("(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]\d+)") 
     4918 
    49174919def symbolic_expression_from_maxima_string(x, equals_sub=False, maxima=maxima): 
    49184920    syms = dict(_syms) 
     
    49494951    #replace all instances of scientific notation 
    49504952    #with regular notation 
    4951     sci_not = re.compile("(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]\d+)") 
    49524953    search = sci_not.search(s) 
    49534954    while not search is None: 
Note: See TracChangeset for help on using the changeset viewer.