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
|
|
@ -3,17 +3,17 @@ smart_pointer_templatevariables
|
|||
d = DiffImContainerPtr_D(create(1234, 5678));
|
||||
|
||||
if (d.id != 1234)
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
#if (d.xyz != 5678):
|
||||
# error
|
||||
# error("failed");
|
||||
|
||||
d.id = 4321;
|
||||
#d.xyz = 8765
|
||||
|
||||
if (d.id != 4321)
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
#if (d.xyz != 8765):
|
||||
# error
|
||||
# error("failed");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue