Skip to content

Commit 1e2698b

Browse files
authored
Merge pull request #149 from bambooleafz/master
this should fixes issue #148
2 parents 732279b + 33815f4 commit 1e2698b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qfunc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1953,7 +1953,7 @@ qispowerof2(NUMBER *q, NUMBER **qlog2)
19531953
* Set *qlog2 to base 2 logarithm of q, which will be a negative value,
19541954
* and return true.
19551955
*/
1956-
*qlog2 = utoq(log2);
1956+
**qlog2 = *utoq(log2);
19571957
(*qlog2)->num.sign = !(*qlog2)->num.sign; /* set *qlog2 to -log2 */
19581958
return true;
19591959
}

0 commit comments

Comments
 (0)