1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Fix FTBFS against Octave 7
Under Octave 7, the testcase fails with the wrong error type (too many input
arguments), so let’s just remove the 2nd input argument.
Author: Sébastien Villemot <sebastien@debian.org>
Bug: https://savannah.gnu.org/bugs/?62288
Bug-Debian: https://bugs.debian.org/1009137
Last-Update: 2022-04-11
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- 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: cell array expected> joinPolygons ([1 2 NaN 3 4])
%!error <joinPolygons: column vectors expected> joinPolygons ({[1,0], [0,2]});
|