Skip to content

Commit 572896d

Browse files
alexchandler100Matthias Koeppe
authored andcommitted
src/sage/{numerical,tests}: Manual fixes to imports
1 parent 1e88c12 commit 572896d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/sage/numerical/linear_functions.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ cdef class LinearFunction(LinearFunctionOrConstraint):
10641064
sage: f._coeff_formatter(sqrt5)
10651065
'sqrt5*'
10661066
1067-
sage: from sage.rings.all import AA
1067+
sage: from sage.rings.qqbar import AA
10681068
sage: sqrt5 = AA(5).sqrt()
10691069
sage: p = MixedIntegerLinearProgram(solver='interactivelp', base_ring=AA)
10701070
sage: LF = p.linear_functions_parent()

src/sage/tests/books/computational-mathematics-with-sagemath/premierspas_doctest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
118118
Sage example in ./premierspas.tex, line 1217::
119119
120-
sage: from sage.all import pi
120+
sage: from sage.symbolic.constants import pi
121121
122122
Sage example in ./premierspas.tex, line 1224::
123123

0 commit comments

Comments
 (0)