resampling: Raise error if trying to resampling to size zero (#2507)
resampling: Raise error if trying to resampling to size zero (#2507)

Related to #2504

Former-commit-id: f25f31e6ed301f128352517712d7adf2ebb1180b
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox