Skip to content

Commit

Permalink
Merge pull request #294 from goggle/typos01
Browse files Browse the repository at this point in the history
Fix some typos
  • Loading branch information
ChrisRackauckas authored Apr 4, 2023
2 parents e3bcd87 + ea75ce8 commit a0bee73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/src/solvers/solvers.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Linear System Solvers](@id linearsystemsolvers)

`solve(prob::LinearProlem,alg;kwargs)`
`solve(prob::LinearProblem,alg;kwargs)`

Solves for ``Au=b`` in the problem defined by `prob` using the algorithm
`alg`. If no algorithm is given, a default algorithm will be chosen.
Expand Down Expand Up @@ -171,7 +171,7 @@ subroutines from the book "Computer Solution of Large Sparse Positive Definite
Systems" by Alan George and Joseph Liu. Originally written in Fortran 77, later
rewritten in Fortran 90. Here is the software translated into Julia.
The Julia rewrite is released under the MIT license with an express permission
from the authors of the Fortran package. The package uses mutiple
from the authors of the Fortran package. The package uses multiple
dispatch to route around standard BLAS routines in the case e.g. of arbitrary-precision
floating point numbers or ForwardDiff.Dual.
This e.g. allows for Automatic Differentiation (AD) of a sparse-matrix solve.
Expand Down
2 changes: 1 addition & 1 deletion test/sparse_vector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ n = length(x0)
hess_mat = sparse(rowval, colval, hess_sparse(x0), n, n)
grad_vec = sparsevec(gradinds, grad_sparse(x0), n)

# # Converting grad_vec to dense succeds in solving
# # Converting grad_vec to dense succeeds in solving
prob = LinearProblem(hess_mat, grad_vec)
linsolve = init(prob)
@test solve(linsolve).u hess_mat \ Array(grad_vec)

0 comments on commit a0bee73

Please sign in to comment.