Skip to content

Commit

Permalink
Escape a test that fails on 6.1.0
Browse files Browse the repository at this point in the history
It fails b/c it uses the regular fplot instead of `@sym/fplot`.  I did
not investigate why, so let's see if it passes on all later versions.
  • Loading branch information
cbm755 committed Oct 26, 2023
1 parent 9d2f133 commit df54e85
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions inst/@sym/fplot.m
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,12 @@

%!test
%! % bounds as syms, regular handle for function
%! dom = [1 2 3 4];
%! fplot (@cos, sym ([1 2]));
%! assert (get (gca, 'xlim'), dom(1:2))
%! % fails on 6.1.0, maybe earlier too?
%! if (compare_versions (OCTAVE_VERSION (), '6.2.0', '>='))
%! dom = [1 2];
%! fplot (@cos, sym (dom));
%! assert (get (gca, 'xlim'), dom(1:2))
%! end

%!error <at most one>
%! syms x y
Expand Down

0 comments on commit df54e85

Please sign in to comment.