Skip to content

Commit 5e42270

Browse files
authored
Fix interpolation in isstored error message (#59)
1 parent 9d24016 commit 5e42270

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SparseArraysBase"
22
uuid = "0d5efcca-f356-4864-8770-e1ed8d78f208"
33
authors = ["ITensor developers <[email protected]> and contributors"]
4-
version = "0.5.7"
4+
version = "0.5.8"
55

66
[deps]
77
Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697"

src/indexing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ for f in (:isstored, :getunstoredindex, :getstoredindex)
155155

156156
# errors
157157
$_f(::IndexStyle, A::AbstractArray, I...) = error(
158-
"`$f` for $("$(typeof(A))") with types $("$(typeof(I))") is not supported"
158+
"`$($f)` for $("$(typeof(A))") with types $("$(typeof(I))") is not supported"
159159
)
160160

161161
$error_if_canonical(::IndexLinear, A::AbstractArray, ::Int) = throw(

0 commit comments

Comments
 (0)