Skip to content
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

lib/Rmath/bessel_i.c error #103

Open
YT-er opened this issue Nov 14, 2019 · 1 comment
Open

lib/Rmath/bessel_i.c error #103

YT-er opened this issue Nov 14, 2019 · 1 comment

Comments

@YT-er
Copy link

YT-er commented Nov 14, 2019

when I run make

it return an error:

gcc  -Wall -O3 -fPIC -DMATHLIB_STANDALONE   -std=gnu99 -IRmath -DNDEBUG -c bessel_i.c -o bessel_i.o
bessel_i.c: In function ‘I_bessel’:
bessel_i.c:491: error: expected expression before ‘/’ token
make[1]: *** [bessel_i.o] Error 1

the code is:

#ifdef IEEE_754
	    /* No need to check for underflow */
	    halfx = .5 * *x;
#else
	    if (*x > enmten_BESS) */  
		halfx = .5 * *x;
	    else
	    	halfx = 0.;

should i delete the */ ?

@atks
Copy link
Owner

atks commented Nov 15, 2019

@chenxj1101

yes. I have removed that stray comment */, it was never caught on my system because it uses IEEE754. Thanks. Commited and pushed to main.

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