Skip to content

Commit

Permalink
Merge pull request #176 from catch22/workaround175
Browse files Browse the repository at this point in the history
Use a different test for warning
  • Loading branch information
cbm755 authored Dec 26, 2017
2 parents 0e893b0 + 9a98298 commit eee8519
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/test_multi_return.texinfo
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ disp ('abc'); x = disp ('def')
Here the warning is not part of the result:

@example
inv (0)
inv ([1 2; 2 4])
@print{} warning: ...matrix singular to machine precision...
@result{} ans = Inf
@result{} ans =
Inf Inf
Inf Inf
@end example

Here we have two results:
Expand Down

0 comments on commit eee8519

Please sign in to comment.