Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
marinerhemant committed Feb 7, 2025
1 parent 3033f7c commit 39e97a5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions FF_HEDM/src/findSingleSolutionPF.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ main(int argc, char *argv[])
for (j=0;j<9;j++) uniqueOrientArr[nUniques*9+j] = allOrientationsArr[bestOrientationRowNr*10+j];
nUniques++;
}
printf("\n");
free(markArr2);
free(allKeyArr);
free(allOrientationsArr);
Expand Down Expand Up @@ -456,9 +455,9 @@ main(int argc, char *argv[])
// Normalize each sino to the maxInt, take -ve and then exp
locThis = i*maxNHKLs*nScans+j*nScans+k;
if (sinoArr[locThis] > 0){
sinoArr[locThis] /= maxIntThis;
sinoArr[locThis] *= -1;
sinoArr[locThis] = exp(sinoArr[locThis]);
// sinoArr[locThis] /= maxIntThis;
// sinoArr[locThis] *= -1;
// sinoArr[locThis] = exp(sinoArr[locThis]);
AvAngle += allOmeArr[i*maxNHKLs*nScans+j*nScans+k];
nAngles++;
}
Expand Down

0 comments on commit 39e97a5

Please sign in to comment.