Skip to content

Commit 5b8556a

Browse files
committed
.
2 parents e834acb + 5e65219 commit 5b8556a

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

CImg.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
// Set version number of the library.
5656
#ifndef cimg_version
57-
#define cimg_version 373
57+
#define cimg_version 374
5858

5959
/*-----------------------------------------------------------
6060
#
@@ -28038,7 +28038,7 @@ namespace cimg_library {
2803828038
if (mp.is_fill && img._data==mp.imgout._data) {
2803928039
cimg::mutex(6,0);
2804028040
throw CImgArgumentException("[" cimg_appname "_math_parser] CImg<%s>: Function 'resize()': "
28041-
"Cannot both fill and resize image (%u,%u,%u,%u) "
28041+
"Cannot both fill/eval and resize image (%u,%u,%u,%u) "
2804228042
"to new dimensions (%u,%u,%u,%u).",
2804328043
img.pixel_type(),img._width,img._height,img._depth,img._spectrum,w,h,d,s);
2804428044
}
@@ -28124,7 +28124,7 @@ namespace cimg_library {
2812428124
st.move_to(mp.list_stats[ind]);
2812528125
cimg::mutex(13,0);
2812628126
}
28127-
return mp.list_stats(ind,k);
28127+
return mp.list_stats[ind].is_empty()?cimg::type<double>::nan():mp.list_stats(ind,k);
2812828128
}
2812928129

2813028130
static double mp_image_std_static(_cimg_math_parser& mp) {
@@ -28140,7 +28140,7 @@ namespace cimg_library {
2814028140
st.move_to(mp.list_stats[ind]);
2814128141
cimg::mutex(13,0);
2814228142
}
28143-
return std::sqrt(mp.list_stats(ind,3));
28143+
return mp.list_stats[ind].is_empty()?cimg::type<double>::nan():std::sqrt(mp.list_stats(ind,3));
2814428144
}
2814528145

2814628146
static double mp_image_swap(_cimg_math_parser& mp) {

html/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div class="header">
1717
<a href="index.html"><img alt="Logo" src="img/logo_header.jpg" class="center_image" style="margin-top:1em;"/></a>
1818
<h2 style="padding-bottom: 1em">
19-
Latest stable version: <b><a href="http://cimg.eu/files/CImg_3.7.2.zip">3.7.2</a></b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Current pre-release: <b><a href="http://cimg.eu/files/CImg_latest.zip">3.7.3</a></b> (2026/03/11)
19+
Latest stable version: <b><a href="http://cimg.eu/files/CImg_3.7.3.zip">3.7.3</a></b> (2026/03/16)
2020
</h2>
2121

2222
<hr/>

html/header_doxygen.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<div class="header">
2727
<a href="../index.html"><img alt="Logo" src="../img/logo_header.jpg" class="center_image" style="margin-top:1em;"/></a>
2828
<h2 style="padding-bottom: 1em">
29-
Latest stable version: <b><a href="http://cimg.eu/files/CImg_3.7.2.zip">3.7.2</a></b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Current pre-release: <b><a href="http://cimg.eu/files/CImg_latest.zip">3.7.3</a></b> (2026/03/11)
29+
Latest stable version: <b><a href="http://cimg.eu/files/CImg_3.7.3.zip">3.7.3</a></b> (2026/03/16)
3030
</h2>
3131

3232
<hr/>

0 commit comments

Comments
 (0)