Closed dkazanc closed 6 years ago
going to add malloc checks in order to say exactly when it fails...
yes, that was my question.
the issue is still not fixed, work in progress to find a bug... <1300^3 voxels seems to be the limit for now.
for large volumes, the size of the array and the index must be long
.
Amazing, fixing it asap. Thanks Edo.
closed with #19
Looks like a bug. I can do 3D phantoms as large as 1250^3 voxels but then on 1500^3 it crashes. Any visible issues with the code? https://github.com/dkazanc/TomoPhantom/blob/eb2ada361f2b270b33821ab280cf8ec4f46e64db/functions/buildPhantom3D_core.c#L106