summaryrefslogtreecommitdiff
path: root/inst/joinPolygons.m
diff options
context:
space:
mode:
Diffstat (limited to 'inst/joinPolygons.m')
-rw-r--r--inst/joinPolygons.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/inst/joinPolygons.m b/inst/joinPolygons.m
index 59c2127..3b9d711 100644
--- a/inst/joinPolygons.m
+++ b/inst/joinPolygons.m
@@ -57,5 +57,5 @@ endfunction
%! XY = joinPolygons ({[1 6; 2 5; 3 4]; [4 3; 5 2; 6 1]});
%! assert (XY, [1 6; 2 5; 3 4; NaN NaN; 4 3; 5 2; 6 1]);
-%!error <joinPolygons: cell array expected> joinPolygons ([1 2 NaN 3 4], [56 NaN 78])
+%!error <joinPolygons: function called with too many inputs> joinPolygons ([1 2 NaN 3 4], [56 NaN 78])
%!error <joinPolygons: column vectors expected> joinPolygons ({[1,0], [0,2]});