[sage-devel] Re: Failing to build documentation

2019-07-07 Thread Matt (trac: gh-Torrencem)
ork? > > On Saturday, July 6, 2019 at 7:14:51 PM UTC-4, Matt (trac: gh-Torrencem) > wrote: >> >> Hi, I'm running Ubuntu and Sage 8.9 (also tried with 8.8), and whenever I >> try building the documentation using "sage --docbuild reference html", I >>

[sage-devel] Re: constant function which can be evaluated for any value but cannot be integrated numerically

2019-07-05 Thread Matt (trac: gh-Torrencem)
Hi, Piotr, If you cast u to be a real number, as in the below example, it produces the intended behavior: def F(u): return arg( (-3 + RR(u) )^(1/3) ) numerical_integral(F,1,2) This is because in your previous code example, u is a python floating point, and by default python throws an error