File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -264,11 +264,8 @@ let fixedLoopSize loopStatement func =
264264 None
265265 else
266266 constBefore var loopStatement func >> = fun start ->
267- let diff =
268- match assignmentDifference (loopBody loopStatement) var with
269- | Some d -> d
270- | None -> Z. one (* When we find a fixed loop and its start, but cannot detect the increment within the loop, we assume the increment is 1 *)
271- in
267+ (* When we find a fixed loop and its start, but cannot detect the increment within the loop, we assume the increment is 1 *)
268+ let diff = Option. value (assignmentDifference (loopBody loopStatement) var) ~default: Z. one in
272269 Logs. debug " comparison: " ;
273270 Pretty. fprint stderr (dn_exp () comparison) ~width: max_int;
274271 Logs. debug " " ;
You can’t perform that action at this time.
0 commit comments