diff --git a/CImg.h b/CImg.h index aa1e01ab..46973c67 100644 --- a/CImg.h +++ b/CImg.h @@ -28246,14 +28246,8 @@ namespace cimg_library { static double mp_rot2d(_cimg_math_parser& mp) { double *ptrd = &_mp_arg(1) + 1; - const float - theta = (float)_mp_arg(2), - ca = std::cos(theta), - sa = std::sin(theta); - *(ptrd++) = ca; - *(ptrd++) = -sa; - *(ptrd++) = sa; - *ptrd = ca; + const double theta = _mp_arg(2), ca = std::cos(theta), sa = std::sin(theta); + ptrd[0] = ptrd[3] = ca; ptrd[1] = -sa; ptrd[2] = sa; return cimg::type::nan(); } diff --git a/html/header.html b/html/header.html index db19f788..503a7813 100644 --- a/html/header.html +++ b/html/header.html @@ -23,7 +23,7 @@
Logo

- Latest stable version: 3.4.3        Current pre-release: 3.5.0 (2024/12/17) + Latest stable version: 3.4.3        Current pre-release: 3.5.0 (2024/12/18)


diff --git a/html/header_doxygen.html b/html/header_doxygen.html index b9045fc7..868bfb8b 100644 --- a/html/header_doxygen.html +++ b/html/header_doxygen.html @@ -26,7 +26,7 @@
Logo

- Latest stable version: 3.4.3        Current pre-release: 3.5.0 (2024/12/17) + Latest stable version: 3.4.3        Current pre-release: 3.5.0 (2024/12/18)