SyneRBI / SIRF

Main repository for the CCP SynerBI software
http://www.ccpsynerbi.ac.uk
Other
57 stars 29 forks source link

Fixes a bug in NiftiImageData.cpp causing segfault #1226

Closed evgueni-ovtchinnikov closed 6 months ago

evgueni-ovtchinnikov commented 6 months ago

Changes in this pull request

Trying to fix a bug in NiftiImageData.cpp that causes segfault.

Testing performed

Tested on the code provided by @paskino in #1225.

Related issues

Fixes #1225.

Checklist before requesting a review

Contribution Notes

Please read and adhere to the contribution guidelines.

Please tick the following:

KrisThielemans commented 6 months ago

@evgueni-ovtchinnikov you will have to merge master here, as I've updated STIR master, and that needed small SIRF changes. So, BUILD_DEVEL=ON tests will fail.

KrisThielemans commented 6 months ago

so... the tests worked. Can't say I understand that as I needed #1228. oh well.