Skip to content

Commit

Permalink
avoid Nans & infinites
Browse files Browse the repository at this point in the history
  • Loading branch information
GillesDuvert committed Dec 4, 2024
1 parent 1db21a2 commit c463f1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testsuite/test_bugs_poly2d.pro
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ p=replicate(0.3,9) & q=replicate(0.4,9)
for k=0,all_numeric do ret=poly_2d(*big[k],p,q,1, 27, 19, miss=-1)
for k=0,all_numeric do ret=poly_2d(*big[k],p,q,2, 27, 19, miss=-1)
for k=0,all_numeric do ret=poly_2d(*big[k],p,q,2, 27, 19, cub=-0.5, miss=-1)


; just for the fun
; p=replicate(0.3,9)& p[2]=!values.f_nan & q=replicate(0.4,9) & ret=poly_2d(randomu(33,3,3),p,q,0)
if (nb_errors GT 0) AND ~KEYWORD_SET(no_exit) then EXIT, status=1
;
if KEYWORD_SET(test) then STOP
Expand Down

0 comments on commit c463f1a

Please sign in to comment.