On Wed, May 6, 2015 at 7:03 AM, jplab <jeanphilippela...@gmail.com> wrote:
> Hi!
>
> Compare the following code in the command line and the cloud:
>
> In the terminal:
>
> sage: t=timeit('factor(ZZ.random_element(10^40))', seconds=True)
> sage: t
> 0.019134044647216797
> sage: type(t)
> <type 'float'>
>
> In the cloud:
>
> sage: t=timeit('factor(ZZ.random_element(10^40))', seconds=True)
> 0.0210275173187
> sage: type(t)
> <type 'NoneType'>
>
> Is that normal that the timeit in the file sage_salvus.py does not return a
> float when the keyword seconds is set to True?
>
> Thank you very much!

Thanks -- this is definitely a bug in SageMathCloud.

William

-- 
William (http://wstein.org)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to