diff --git a/common/waifu2x.h b/common/waifu2x.h index 59ce928..9647677 100644 --- a/common/waifu2x.h +++ b/common/waifu2x.h @@ -66,6 +66,8 @@ public: int scale_factor; int offset; int recommended_crop_size; + + stParam() : scale_factor(1), offset(0), recommended_crop_size(-1) {} }; std::string name;