We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3ecc98 commit 2c94057Copy full SHA for 2c94057
common/waifu2x.cpp
@@ -1665,7 +1665,7 @@ Waifu2x::eWaifu2xError Waifu2x::waifu2x(const boost::filesystem::path &input_fil
1665
1666
const bool isJpeg = boost::iequals(ipext.string(), ".jpg") || boost::iequals(ipext.string(), ".jpeg");
1667
const bool isReconstructNoise = mode == "noise" || mode == "noise_scale" || (mode == "auto_scale" && isJpeg);
1668
- const bool isReconstructScale = mode == "scale" || mode == "noise_scale";
+ const bool isReconstructScale = mode == "scale" || mode == "noise_scale" || mode == "auto_scale";
1669
1670
cv::Mat float_image;
1671
ret = LoadMat(float_image, input_file);
0 commit comments