On Nov 25, 2008, at 10:16 PM, Bill Page wrote:

>
> [EMAIL PROTECTED]:~$ ./integral_test1.sage
> Test 1 : Test Passed.
> Maxima Time:
> Traceback (most recent call last):
>  File "./integral_test1.py", line 96, in <module>
>    time_Maxima_friCAS(integrand)
>  File "./integral_test1.py", line 81, in time_Maxima_friCAS
>    print "Maxima Time:", mx_time.stats[_sage_const_3 ],
> mx_time.stats[_sage_const_4 ]
> AttributeError: 'str' object has no attribute 'stats'
>
> ----
>
> The script runs ok if I comment out the timing:
>
>        else:
>                test_eval(test,test_int,desired_result)
>                #time_Maxima_friCAS(integrand)
>
>

Strange,

The timeit code is in sage/misc/sage_timeit.py and sage/misc/ 
sage_timeit_class.py
so I'd check to see if the code there has the stats attribute. If it  
does, I'd
assume that somehow Sage didn't pick up the change.

Cheers,

Tim.

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

Reply via email to