We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c616b84 commit adcb4c6Copy full SHA for adcb4c6
Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx
@@ -1182,7 +1182,7 @@ std::vector<double> ImageHelper::GetRescaleInterceptSlopeValue(File const & f)
1182
std::vector<double> dummy(2);
1183
if( GetRescaleInterceptSlopeValueFromDataSet(ds, dummy) )
1184
{
1185
- if(dummy[0] != 0 && dummy[1] != 1) {
+ if(dummy[0] != 0 || dummy[1] != 1) {
1186
// SIEMENS is sending MFSPLIT with Modality LUT
1187
// Case is: MAGNETOM Prisma / syngo MR XA30A with MFSPLIT
1188
interceptslope[0] = dummy[0];
0 commit comments