Octave: error() must be called with an argument

This commit is contained in:
Karl Wette 2020-06-08 03:18:37 +10:00
commit 251ab662bf
77 changed files with 308 additions and 308 deletions

View file

@ -2,26 +2,26 @@ inout
a = inout.AddOne1(1);
if (a != 2)
error
error("failed");
endif
a = inout.AddOne3(1,1,1);
if (a != [2,2,2])
error
error("failed");
endif
a = inout.AddOne1p((1,1));
if (a != (2,2))
error
error("failed");
endif
a = inout.AddOne2p((1,1),1);
if (a != [(2,2),2])
error
error("failed");
endif
a = inout.AddOne3p(1,(1,1),1);
if (a != [2,(2,2),2])
error
error("failed");
endif