Trivial 'if' condition in loading image via interfile - possibly minor bug
Hi, I was looking how castor manages working with multimodal images which may be different in size/offset from the ones to be reconstructed
Look oInterfileIO.cc - this check seems trivial, so it won't detect an offset.
// Call interpolation function if required
if (a_IF.is_mtx_size_different
|| a_IF.vox_offset[0] != a_IF.vox_offset[0]
|| a_IF.vox_offset[1] != a_IF.vox_offset[1]
|| a_IF.vox_offset[2] != a_IF.vox_offset[2] )
It seems that it should be a_IF.cvox_offset[0,1,2], right?
P.S. I guess I should just fix this and send push?
Edited by Fedor Goncharov