Skip to content

Commit

Permalink
Removed duplicated show method for ShiftVector
Browse files Browse the repository at this point in the history
  • Loading branch information
brainandforce committed Dec 10, 2023
1 parent 01e89ff commit 9fd767e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/vectors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ Moves a `ShiftVector` so that its values lie within the range [-1/2, 1/2]. The w
Base.truncate(s::ShiftVector) = (typeof(s))(rem.(s.vector, 1, RoundNearest), s.weight)

Base.summary(io::IO, s::ShiftVector) = print(io, typeof(s), " with weight ", s.weight)
Base.show(io::IO, s::ShiftVector) = print(io, typeof(s), '(', s.vector, ", ", s.weight, ')')

function Base.show(io::IO, s::ShiftVector)
print(io, typeof(s), '(')
Expand Down

0 comments on commit 9fd767e

Please sign in to comment.