Skip to content

Commit

Permalink
It always should have been a message.
Browse files Browse the repository at this point in the history
  • Loading branch information
Avraham Adler committed Jul 20, 2023
1 parent 9aea4a2 commit 2055f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/tinytest/test_MiniMaxApprox.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ expect_error(minimaxApprox(fn, -1, 1, 1:3), errMess)
## Polynomial - Check that it is ignored
wrnMess <- paste("Polynomial approximation uses Chebyshev nodes for initial",
"guess. Any passed xi is ignored.")
expect_warning(minimaxApprox(fn, -1, 1, 10L, xi = 6), wrnMess)
expect_message(minimaxApprox(fn, -1, 1, 10L, xi = 6), wrnMess)
## Rational - Check that proper length is passed
errMess <- paste("Given the requested degrees for numerator and denominator,",
"the x-vector needs to have 8 elements.")
Expand Down

0 comments on commit 2055f8c

Please sign in to comment.