Skip to content

Commit 25f93f6

Browse files
committed
fix printing
1 parent 94eed95 commit 25f93f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dense.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function Base.show(io::IO, backend::AutoFiniteDiff)
140140
print(io, "relstep=", repr(backend.relstep; context = io), ", ")
141141
!isnothing(backend.absstep) &&
142142
print(io, "absstep=", repr(backend.absstep; context = io), ", ")
143-
!backend.dir &&
143+
(isnothing(backend.dir) || !backend.dir) &&
144144
print(io, "dir=", repr(backend.dir; context = io))
145145
print(io, ")")
146146
end

0 commit comments

Comments
 (0)