We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59afc49 commit 20f26d0Copy full SHA for 20f26d0
Project.toml
@@ -1,7 +1,7 @@
1
name = "BackendSelection"
2
uuid = "680c2d7c-f67a-4cc9-ae9c-da132b1447a5"
3
authors = ["ITensor developers <support@itensor.org> and contributors"]
4
-version = "0.1.6"
+version = "0.1.7"
5
6
[compat]
7
julia = "1.10"
src/backend_types.jl
@@ -35,7 +35,7 @@ function generate_backend_type_expr(type::Symbol)
35
Base.propertynames(backend::$type) = propertynames(parameters(backend))
36
Base.getindex(backend::$type, name::Symbol) = parameters(backend)[name]
37
function Base.get(backend::$type, name::Symbol, default)
38
- get(parameters(backend), name, default)
+ return get(parameters(backend), name, default)
39
end
40
41
function Base.show(io::IO, backend::$type)
0 commit comments