Skip to content

Commit

Permalink
Fix detector display by replacing println with print
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle committed Oct 1, 2024
1 parent 702b2d0 commit f7290a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/adtypes_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ end
for detector in (:TracerSparsityDetector, :TracerLocalSparsityDetector)
@eval function Base.show(io::IO, d::$detector{TG,TH}) where {TG,TH}
if TG == DEFAULT_GRADIENT_TRACER && TH == DEFAULT_HESSIAN_TRACER
println(io, $detector, "()")
print(io, $detector, "()")
else
println(io, $detector, "{", TG, ",", TH, "}()")
print(io, $detector, "{", TG, ",", TH, "}()")
end
return nothing
end
Expand Down

0 comments on commit f7290a0

Please sign in to comment.