Skip to content

Commit

Permalink
src/sage/functions/piecewise.py: add "needs" for libgiac integration
Browse files Browse the repository at this point in the history
One example in this file integrates with algorithm='giac', which can
fail if sage.libs.giac is not available to perform the integration.
  • Loading branch information
orlitzky committed Sep 20, 2024
1 parent b11ce1e commit 0f9f385
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sage/functions/piecewise.py
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,7 @@ def integral(self, parameters, variable, x=None, a=None, b=None, definite=False,
Check that the algorithm keyword can be used::
sage: # needs sage.libs.giac
sage: ex = piecewise([([0, 1], 1), ((1, oo), 1/x**2)])
sage: integral(ex, x, 0, 100, algorithm='giac')
199/100
Expand Down

0 comments on commit 0f9f385

Please sign in to comment.