Line 139 should be

    double temp = output[(3*k+1)*row*col+ i * col +j - k*col];
instead of

        double temp = output[(3*k+1)*row*col+ i * col +j];
This commit is contained in:
rafat.hsn@gmail.com 2011-08-09 07:33:07 +00:00
parent 74a24e5089
commit 5b6b0fd4b1

View File

@ -136,7 +136,7 @@ int main() {
for (int k=0; k < J; k++) {
for (int i=0; i < 3*row; i++) {
for(int j=0+ k*col; j < (k+1)*col; j++) {
double temp = output[(3*k+1)*row*col+ i * col +j];
double temp = output[(3*k+1)*row*col+ i * col +j - k*col];
detail[i][j]= temp;
}
}