Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtschump committed Mar 17, 2024
1 parent aed67fe commit 544cb06
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CImg.h
Original file line number Diff line number Diff line change
Expand Up @@ -23403,10 +23403,9 @@ namespace cimg_library {
CImg<ulongT>::sequence(arg3,arg2 + 1,arg2 + arg3).move_to(l_opcode);
arg1+=arg3;
const CImg<ulongT> &rcode_back = rcode.back();
is_sth&=p3==p1+1 && rcode_back[1]==arg2 &&
is_sth&=p3>p1 && rcode_back[1]==arg2 &&
(rcode_back[0]==(ulongT)mp_string_init ||
rcode_back[0]==(ulongT)mp_vector_init) &&
!is_comp_vector(arg2) && variable_def.size()==p2;
rcode_back[0]==(ulongT)mp_vector_init) && variable_def.size()==p2 && !is_comp_vector(arg2);
// ^^ Tricky part: detect if 'arg2' is a newly constructed vector not assigned to a variable
// (i.e. a vector-valued literal).
} else {
Expand Down

0 comments on commit 544cb06

Please sign in to comment.