mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
Fix my typo in MatrixPowerBase.h, no effect on the flow.
This commit is contained in:
parent
dd8034bd1c
commit
d7b1049cab
@ -38,7 +38,7 @@ inline int binary_powering_cost(T p, int* squarings)
|
||||
{
|
||||
int applyings=0, tmp;
|
||||
|
||||
if (frexp(p, squarings) != 0.5);
|
||||
frexp(p, squarings);
|
||||
--*squarings;
|
||||
|
||||
while (std::frexp(p, &tmp), tmp > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user