From c388d93a09d216896e32b840c042ce18935f1ba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Tschumperl=C3=A9?= <david.tschumperle@gmail.com> Date: Fri, 21 Sep 2018 13:58:27 +0200 Subject: [PATCH] . --- CImg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CImg.h b/CImg.h index d6c2832..cfc7e3e 100644 --- a/CImg.h +++ b/CImg.h @@ -17619,7 +17619,7 @@ namespace cimg_library_suffixed { } if (_cimg_mp_is_vector(arg1) && !ref[0]) ++arg1; if (_cimg_mp_is_vector(arg2)) { - if (arg3==~0U) arg3 = _cimg_mp_size(arg2); + if (arg3==~0U) arg3 = constant(_cimg_mp_size(arg2)); if (!ref[7]) ++arg2; } if (arg3==~0U) arg3 = 1; -- GitLab