Skip to content

Commit 84edc13

Browse files
sanderdemeyerJutho
andauthored
Update src/algorithms.jl
Co-authored-by: Jutho <Jutho@users.noreply.github.com>
1 parent 3a51eb6 commit 84edc13

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(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(typeof(t1)))
545545
isequal(t1::T1, t2::T2) where {T1, T2 <: TruncationStrategy} = false

0 commit comments

Comments
 (0)