diff --git a/CImg.h b/CImg.h index 34559b5e..70f74342 100644 --- a/CImg.h +++ b/CImg.h @@ -24247,9 +24247,11 @@ namespace cimg_library { } static double mp_c2o(_cimg_math_parser& mp) { - mp_check_list(mp,"c2o"); unsigned int ind = (unsigned int)mp.opcode[2]; - if (ind!=~0U) ind = (unsigned int)cimg::mod((int)_mp_arg(2),mp.imglist.width()); + if (ind!=~0U) { + mp_check_list(mp,"c2o"); + ind = (unsigned int)cimg::mod((int)_mp_arg(2),mp.imglist.width()); + } const CImg &img = ind==~0U?mp.imgin:mp.imglist[ind]; const int x = (int)_mp_arg(3), @@ -25006,10 +25008,12 @@ namespace cimg_library { } static double mp_ellipse(_cimg_math_parser& mp) { - mp_check_list(mp,"ellipse"); const unsigned int i_end = (unsigned int)mp.opcode[2]; unsigned int ind = (unsigned int)mp.opcode[3]; - if (ind!=~0U) ind = (unsigned int)cimg::mod((int)_mp_arg(3),mp.imglist.width()); + if (ind!=~0U) { + mp_check_list(mp,"ellipse"); + ind = (unsigned int)cimg::mod((int)_mp_arg(3),mp.imglist.width()); + } CImg &img = ind==~0U?mp.imgout:mp.imglist[ind]; CImg color(img._spectrum,1,1,1,0); bool is_invalid_arguments = false, is_outlined = false; @@ -27173,9 +27177,11 @@ namespace cimg_library { } static double mp_o2c(_cimg_math_parser& mp) { - mp_check_list(mp,"o2c"); unsigned int ind = (unsigned int)mp.opcode[2]; - if (ind!=~0U) ind = (unsigned int)cimg::mod((int)_mp_arg(2),mp.imglist.width()); + if (ind!=~0U) { + mp_check_list(mp,"o2c"); + ind = (unsigned int)cimg::mod((int)_mp_arg(2),mp.imglist.width()); + } const CImg &img = ind==~0U?mp.imgin:mp.imglist[ind]; longT offset = (longT)_mp_arg(3); double *ptrd = &_mp_arg(1) + 1; diff --git a/html/header.html b/html/header.html index 13cfce46..e5e2405b 100644 --- a/html/header.html +++ b/html/header.html @@ -23,7 +23,7 @@
Logo

- Latest stable version: 3.3.2 + Latest stable version: 3.3.2        Current pre-release: 3.3.3 (2023/11/24)


diff --git a/html/header_doxygen.html b/html/header_doxygen.html index 5d073f94..636cebaa 100644 --- a/html/header_doxygen.html +++ b/html/header_doxygen.html @@ -26,7 +26,7 @@
Logo

- Latest stable version: 3.3.2 + Latest stable version: 3.3.2        Current pre-release: 3.3.3 (2023/11/24)