1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 01:39:05 -05:00

ValueDialZ: fix find exponent. Fixes #1158

This commit is contained in:
f4exb 2022-03-03 23:23:54 +01:00
parent 9a733527bb
commit 22381c5dbc

View File

@ -173,7 +173,8 @@ quint64 ValueDialZ::findExponent(int digit)
for (int i = s+1; i < d+s; i++) for (int i = s+1; i < d+s; i++)
{ {
if ((i%4 == 0) || (m_positiveOnly && (i == d+s-1))) { // non digit positions // if ((i%4 == 0) || (m_positiveOnly && (i == d+s-1))) { // non digit positions
if (i%4 == 0) {
continue; continue;
} }