Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
per Dan Bullock (git user DanNBullock), use of false() as a means of getting an array of zeros on sz resulted in an empty dimension when a negative is passed in. The previous structure seemed to be predicated on a presumption of either RAS or LPI. Use of Abs(sz) ensures that the actual dimensions are passed.
- Loading branch information
b55cda4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't actually fix it, it would seem. The problem actually manifests in the line above. If one of the values is negative above, the addition actually lowers the resultant value. Again, the overarching issue seems to be the assumption of an image orientation and the inability to deal with alternate orientations.