Skip to content

Commit 59c575d

Browse files
Update src/algorithms.jl
Co-authored-by: Lukas Devos <ldevos98@gmail.com>
1 parent 84edc13 commit 59c575d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/algorithms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,5 +541,5 @@ macro check_size(x, sz, size = :size)
541541
end
542542

543543
# Check equality of two `TruncationStrategy`s
544-
isequal(t1::T, t2::T) where {T <: TruncationStrategy} = all(isequal(getfield(t1, f), getfield(t2, f)) for f in fieldnames(typeof(t1)))
544+
isequal(t1::T, t2::T) where {T <: TruncationStrategy} = all(isequal(getfield(t1, f), getfield(t2, f)) for f in fieldnames(T))
545545
isequal(t1::T1, t2::T2) where {T1, T2 <: TruncationStrategy} = false

0 commit comments

Comments
 (0)