Octave: error() must be called with an argument
This commit is contained in:
parent
01a2d5fe4c
commit
251ab662bf
77 changed files with 308 additions and 308 deletions
|
|
@ -8,11 +8,11 @@ li_factory
|
|||
circle = Geometry_create(Geometry.CIRCLE);
|
||||
r = circle.radius();
|
||||
if (r != 1.5)
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
point = Geometry_create(Geometry.POINT);
|
||||
w = point.width();
|
||||
if (w != 1.0)
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue