Commit 78578186e662347504ac50e8fa136fe3e7c0310e

Authored by David Mayerich
1 parent 37e61850

fixed a bug in the progress calculation of BSQ sifting

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
@@ -996,7 +996,7 @@ public: @@ -996,7 +996,7 @@ public:
996 matrix[i*Z() + b] = band_image[xy]; //copy it to the appropriate point in the values[] array 996 matrix[i*Z() + b] = band_image[xy]; //copy it to the appropriate point in the values[] array
997 i++; 997 i++;
998 } 998 }
999 - if(PROGRESS) progress = (double)(xy+1) / (double)XY * 100; 999 + if(PROGRESS) progress = (double)(b * XY + xy+1) / (double)(XY * Z()) * 100;
1000 } 1000 }
1001 } 1001 }
1002 1002