We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e50dab commit 27e8806Copy full SHA for 27e8806
1 file changed
Library/Raisr.cpp
@@ -1293,6 +1293,11 @@ RNLERRORTYPE RNLInit(std::string &modelPath,
1293
{
1294
return RNLErrorBadParameter;
1295
}
1296
+ if (gPatchSize != 11)
1297
+ {
1298
+ std::cout << "[RAISR ERROR] configFile corrupted: " << configPath << std::endl;
1299
+ return RNLErrorBadParameter;
1300
+ }
1301
gPatchMargin = gPatchSize >> 1;
1302
gLoopMargin = (gPatchSize >> 1) + 1;
1303
gResizeExpand = (gLoopMargin + 2);
0 commit comments