Skip to content

Commit 8962240

Browse files
committed
.
1 parent ebe3f32 commit 8962240

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CImg.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19433,7 +19433,7 @@ namespace cimg_library {
1943319433
}
1943419434
arg2 = compile(s + 1,se,depth1,0,block_flags);
1943519435

19436-
// Spot potential cases 'a*(b/c)'.
19436+
// Spot potential case 'a*(b/c)'.
1943719437
if (!ptr1 && is_scalar(arg2) && code.size()>p3) {
1943819438
CImg<ulongT>& pop = code.back();
1943919439
op = (mp_func)*pop;
@@ -19515,7 +19515,7 @@ namespace cimg_library {
1951519515
_cimg_mp_const_scalar(mem[arg1]/mem[arg2]);
1951619516
if (!arg1) _cimg_mp_return(0);
1951719517
if (p1<code.size() && code[p1].data()==ptr1 && *ptr1==(ulongT)mp_div &&
19518-
ptr1[1]==(ulongT)arg1) { // Particular case 'a/b/c'
19518+
ptr1[1]==(ulongT)arg1) { // Particular case '(a/b)/c'
1951919519
arg3 = (unsigned int)ptr1[2]; arg4 = (unsigned int)ptr1[3];
1952019520
code.remove(p1);
1952119521
if (is_const_scalar(arg2)) {

0 commit comments

Comments
 (0)