Skip to content

Commit 398b640

Browse files
committed
fix: equality check between dims
1 parent 9347092 commit 398b640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_non_number_eval_tree_array.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function DE.is_valid(val::T) where {Q<:Number,T<:Max2Tensor{Q}}
4141
end
4242

4343
function Base.:(==)(x::Max2Tensor{T}, y::Max2Tensor{T}) where {T}
44-
if x.dims !== y.dims
44+
if x.dims != y.dims
4545
return false
4646
elseif x.dims == 0
4747
return x.scalar == y.scalar

0 commit comments

Comments
 (0)