Fix pointer/integer argument mismatch in calls to pow()

This commit is contained in:
Martin Kroeker
2022-09-14 11:48:36 +02:00
committed by GitHub
parent 8273ab6ee3
commit 515cf26929
22 changed files with 50 additions and 50 deletions
+2 -2
View File
@@ -836,10 +836,10 @@ f"> */
lrwmin = *n - 1 << 1;
} else if (icompz == 1) {
lgn = (integer) (log((doublereal) (*n)) / log(2.));
if (pow_ii(&c__2, &lgn) < *n) {
if (pow_ii(c__2, lgn) < *n) {
++lgn;
}
if (pow_ii(&c__2, &lgn) < *n) {
if (pow_ii(c__2, lgn) < *n) {
++lgn;
}
lwmin = *n * *n;