Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtschump committed Nov 24, 2023
2 parents e46c476 + 394871b commit 12a6219
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CImg.h
Original file line number Diff line number Diff line change
Expand Up @@ -25356,8 +25356,10 @@ namespace cimg_library {
}

static double mp_i(_cimg_math_parser& mp) {
return (double)mp.imgin((int)mp.mem[_cimg_mp_slot_x],(int)mp.mem[_cimg_mp_slot_y],
(int)mp.mem[_cimg_mp_slot_z],(int)mp.mem[_cimg_mp_slot_c]);
if (mp.imgin)
return (double)mp.imgin((int)mp.mem[_cimg_mp_slot_x],(int)mp.mem[_cimg_mp_slot_y],
(int)mp.mem[_cimg_mp_slot_z],(int)mp.mem[_cimg_mp_slot_c]);
return 0;
}

static double mp_if(_cimg_math_parser& mp) {
Expand Down

0 comments on commit 12a6219

Please sign in to comment.