Describe your problem in detail
When the maximum value in sliceOrder correspond to TA, the check on the line below throws an error
https://github.com/cpp-lln-lab/CPP_SPM/blob/0d9684007d5292c76b45cd892d7ee3a652995e40/src/batches/setBatchSTC.m#L60
Describe what outcome you expected
given that the values are equal (e.g. max(sliceOrder) = 2.4359 and TA = 2.4359) the check any(sliceOrder > TA) should be ok
Describe what you got instead
I get the error as any(sliceOrder > TA) is true, possible problem may rely on being floating-point values