Skip to content

severe bug in gaussint #1691

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
GillesDuvert opened this issue Dec 15, 2023 · 5 comments
Closed

severe bug in gaussint #1691

GillesDuvert opened this issue Dec 15, 2023 · 5 comments

Comments

@GillesDuvert
Copy link
Contributor

GDL> X = [1.00, 1.05, 1.27, 1.34, 1.38, 1.50]
GDL> plot,x,gaussint(x)
% GAUSSINT: Variable is undefined:

@GillesDuvert
Copy link
Contributor Author

closed #1692

@alaingdl
Copy link
Contributor

Several serious bugs were detected, related to this one :

GDL> print, GAUSSINT(replicate(0.5,3))
     0.691462     0.478120     0.478120
GDL> print, BESELI(findgen(3))
      1.00000
GDL> print, BESELJ(findgen(3))
      1.00000
[...]
IDL> print, GAUSSINT(replicate(0.5,3))
     0.691462     0.691462     0.691462
IDL> print, BESELI(findgen(3))
       1.0000000       1.2660658       2.2795854
IDL> print, BESELJ(findgen(3))
       1.0000000      0.76519769      0.22389078

@alaingdl alaingdl reopened this Dec 21, 2023
@alaingdl
Copy link
Contributor

T_PDF too is wrong in dims (to be add to TEST_MATH_FUNCTION_DIM)

@GillesDuvert
Copy link
Contributor Author

@alaingdl thanks for all these tests.

@alaingdl
Copy link
Contributor

alaingdl commented Jan 3, 2024

Several cases were solved in #1702
New test cases for 1 or 2 inputs in test_math_function_dim.pro

Please open a new issue if similar problems

@alaingdl alaingdl closed this as completed Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants