Closed pkofod closed 5 years ago
This is expected since x
is the initial guess. E.g.
julia> x = rand(length(v))
2-element Array{Float64,1}:
0.0009348838551288541
0.5852360604763667
julia> gmres!(copy(x), J', v)
2-element Array{Float64,1}:
-12.760000000000023
-0.4400000000000017
julia> gmres!(copy(x), J', v)
2-element Array{Float64,1}:
-12.760000000000023
-0.4400000000000017
julia> gmres!(copy(x), J', v)
2-element Array{Float64,1}:
-12.760000000000023
-0.4400000000000017
Right, so I'm apparently too stupid to read a docstring :) I thought it was just a cache.
Sorry if I'm not fully understanding these things, but is the behavior of
gmres!
andidrs!
not meant to be deterministic? Please consider the followingrelated to #222