From c64bdaeba725bd31a54e33358938aafd250d04fb Mon Sep 17 00:00:00 2001 From: Swayam Shah Date: Sun, 10 Nov 2024 22:16:29 +0530 Subject: [PATCH] "Update assert statement in intersect.m to check size of C instead of isequal with sym([])" --- inst/@sym/intersect.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/@sym/intersect.m b/inst/@sym/intersect.m index b9454987e..73abcedae 100644 --- a/inst/@sym/intersect.m +++ b/inst/@sym/intersect.m @@ -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