Commits

Renaud Miel authored 4419d9c57f8
CAS-10682 Style.

NAOJ code review #1804

casa5/code/synthesis/MeasurementComponents/SDGrid.cc

Modified
1231 1231 Bool doPSF;
1232 1232 getParamsForFTMachineType(vi, inType, doPSF, actualType);
1233 1233 setupVisBufferForFTMachineType(actualType, vb);
1234 1234 constexpr Int allVbRows = -1;
1235 1235 put(vb, allVbRows, doPSF, actualType);
1236 1236 }
1237 1237 }
1238 1238 finalizeToSky();
1239 1239
1240 1240 // Normalize by dividing out weights, etc.
1241 - auto doNormalize = (inType == FTMachine::COVERAGE) ? false : true;
1241 + auto doNormalize = not (inType == FTMachine::COVERAGE);
1242 1242 getImage(weight, doNormalize);
1243 1243
1244 1244 // Warning message
1245 1245 if (allEQ(weight, 0.0f)) {
1246 1246 logIO() << LogIO::SEVERE
1247 1247 << "No useful data in SDGrid: all weights are zero"
1248 1248 << LogIO::POST;
1249 1249 }
1250 1250 }
1251 1251

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut