Closed mohamed82008 closed 6 years ago
https://github.com/JuliaMath/IterativeSolvers.jl/blob/756edef2b6a58a65b41f87127fbec1f8c62150c7/src/cg.jl#L203 The above line creates a type instability. Can be fixed by making log::Type{Val{logging}} and making logging a type parameter.
log::Type{Val{logging}}
logging
Remember that we've constant propagation on 0.7 so I wouldn't use any Val for this.
Val
Duplicate of #192. See also #185.
https://github.com/JuliaMath/IterativeSolvers.jl/blob/756edef2b6a58a65b41f87127fbec1f8c62150c7/src/cg.jl#L203 The above line creates a type instability. Can be fixed by making
log::Type{Val{logging}}
and makinglogging
a type parameter.