Skip to content

Commit adcb4c6

Browse files
committed
Really fix logic
1 parent c616b84 commit adcb4c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ std::vector<double> ImageHelper::GetRescaleInterceptSlopeValue(File const & f)
11821182
std::vector<double> dummy(2);
11831183
if( GetRescaleInterceptSlopeValueFromDataSet(ds, dummy) )
11841184
{
1185-
if(dummy[0] != 0 && dummy[1] != 1) {
1185+
if(dummy[0] != 0 || dummy[1] != 1) {
11861186
// SIEMENS is sending MFSPLIT with Modality LUT
11871187
// Case is: MAGNETOM Prisma / syngo MR XA30A with MFSPLIT
11881188
interceptslope[0] = dummy[0];

0 commit comments

Comments
 (0)