Skip to content

Commit

Permalink
"Update assert statement in intersect.m to check size of C instead of…
Browse files Browse the repository at this point in the history
… isequal with sym([])"
  • Loading branch information
Sonu0305 committed Nov 10, 2024
1 parent 0e547b8 commit c64bdae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/@sym/intersect.m
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
%! % empty input
%! A = sym([1 2]);
%! C = intersect(A, []);
%! assert (isequal (C, sym([])))
%! assert (isequal (size(C), [1, 0]))

%!test
%! % scalar
Expand Down

0 comments on commit c64bdae

Please sign in to comment.