diff --git a/CImg.h b/CImg.h index b9864d91..63b21266 100644 --- a/CImg.h +++ b/CImg.h @@ -21693,16 +21693,25 @@ namespace cimg_library { s0 = ss + 10; s1 = s0; while (s1::vector((ulongT)mp_vector_normalize,pos,arg1,p1,arg2,arg3).move_to(code); + CImg::vector((ulongT)mp_vector_normalize,pos,arg1,p1,arg2,arg3,arg4).move_to(code); return_new_comp = true; _cimg_mp_return(pos); } @@ -28688,8 +28697,10 @@ namespace cimg_library { const double *const ptrs = &_mp_arg(2) + 1, min_value = _mp_arg(4), - max_value = _mp_arg(5); - CImg(ptrd,siz,1,1,1,true) = CImg(ptrs,siz,1,1,1,true).get_normalize(min_value,max_value); + max_value = _mp_arg(5), + constant_case_ratio = _mp_arg(6); + CImg(ptrd,siz,1,1,1,true) = CImg(ptrs,siz,1,1,1,true). + get_normalize(min_value,max_value,constant_case_ratio); return cimg::type::nan(); }