mirror of
https://github.com/boostorg/math.git
synced 2026-01-19 04:22:09 +00:00
Check update of xterm for denom of 0
This commit is contained in:
@@ -212,7 +212,10 @@ namespace boost
|
||||
}
|
||||
pois *= i / l2;
|
||||
beta -= xterm;
|
||||
xterm *= (a + i - 1) / (x * (a + b + i - 2));
|
||||
if (a + b + i - 2 != 0)
|
||||
{
|
||||
xterm *= (a + i - 1) / (x * (a + b + i - 2));
|
||||
}
|
||||
}
|
||||
return sum;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user