Skip to content

Commit dae42e5

Browse files
authored
Update src/utils/utils.jl
1 parent 6b9d201 commit dae42e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ function mutual_crs(a, b)
308308
return GI.crs(a)
309309
elseif isnothing(GI.crs(a)) && !isnothing(GI.crs(b))
310310
return GI.crs(b)
311-
elseif GI.crs(a) != nothing && GI.crs(b) == nothing
311+
elseif !isnothing(GI.crs(a)) && isnothing(GI.crs(b))
312312
return GI.crs(a)
313313
else
314314
return nothing

0 commit comments

Comments
 (0)