Skip to content

Commit

Permalink
fix macro in string
Browse files Browse the repository at this point in the history
  • Loading branch information
ogauthe committed May 29, 2024
1 parent 0e6c219 commit b5f2b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NDTensors/src/lib/BackendSelection/src/backend_types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ for type in (:Algorithm, :Backend)
parameters(backend::$type) = getfield(backend, :kwargs)

function Base.show(io::IO, backend::$type)
return print(io, "$type type ", backend_string(backend), ", ", parameters(backend))
return print(io, "$($type) type ", backend_string(backend), ", ", parameters(backend))
end
Base.print(io::IO, backend::$type) =
print(io, backend_string(backend), ", ", parameters(backend))
Expand Down

0 comments on commit b5f2b3f

Please sign in to comment.