You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the lazy matrix exponential is only defined for sparse matrices; we could have a better error message than:
julia> A =SparseMatrixExp(rand(2, 2))
ERROR: MethodError: Cannot `convert` an object of type Array{Float64,2} to an object of type LazySets.SparseMatrixExp
This may have arisen from a call to the constructor LazySets.SparseMatrixExp(...),
since type constructors fall back to convert methods.
Stacktrace:
[1] LazySets.SparseMatrixExp(::Array{Float64,2}) at ./sysimg.jl:77
something along the lines:
SparseMatrixExp(M::Matrix{N}) where {N} =error("only sparse matrices can be used to create a `SparseMatrixExp`")
an example in the docstring would also help.
The text was updated successfully, but these errors were encountered:
the lazy matrix exponential is only defined for sparse matrices; we could have a better error message than:
something along the lines:
an example in the docstring would also help.
The text was updated successfully, but these errors were encountered: