We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88d9941 commit d997ba1Copy full SHA for d997ba1
pytensor/scalar/math.py
@@ -391,7 +391,7 @@ def c_support_code(self, **kwargs):
391
392
#ifndef _PSIFUNCDEFINED
393
#define _PSIFUNCDEFINED
394
- DEVICE double _psi(ga_double x) {
+ DEVICE double _psi(double x) {
395
396
/*taken from
397
Bernardo, J. M. (1976). Algorithm AS 103:
@@ -414,8 +414,8 @@ def c_support_code(self, **kwargs):
414
}
415
416
// Use reflection formula
417
- ga_double pi_x = M_PI * x;
418
- ga_double cot_pi_x = cos(pi_x) / sin(pi_x);
+ double pi_x = M_PI * x;
+ double cot_pi_x = cos(pi_x) / sin(pi_x);
419
return _psi(1.0 - x) - M_PI * cot_pi_x;
420
421
0 commit comments