Skip to content

Commit 7795d55

Browse files
committed
yet another fix
1 parent 0d834b9 commit 7795d55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
....: A = matrix(QQ, [[1/(i+j-1) for j in [1..n]] for i in [1..n]])
2121
....: y = A*x
2222
....: A[n-1,n-1] = (1/(2*n-1))*(1+1/(10^5)) # modifies the matrix
23-
....: s = A\y
23+
....: s = A.solve_right(y)
2424
....: return max(abs(float(s[i]-x[i])) for i in range(0,n))
2525
2626
Sage example in ./linsolve.tex, line 396::

0 commit comments

Comments
 (0)