for my $s1 (@s) {
for my $s2 (@s) {
for my $l (0 .. $n - 1) {
- last if $s1 + $l > $n or $s2 + $l > $n;
+ next if $s1 + $l > $n or $s2 + $l > $n;
pat $v1, $s1, $l, 0;
pat $v2, $s2, $l, 0;
ok Scalar::Vec::Util::veq_pp($v1 => $s1, $v2 => $s2, $l),
for my $s1 (@s) {
for my $s2 (@s) {
for my $l (0 .. $n - 1) {
- last if $s1 + $l > $n or $s2 + $l > $n;
+ next if $s1 + $l > $n or $s2 + $l > $n;
pat $v1, $s1, $l, 0;
pat $v2, $s2, $l, 0;
ok veq($v1 => $s1, $v2 => $s2, $l), "veq $s1, $s2, $l";
my @s = ($p - $q) .. ($p + $q);
for my $s (@s) {
for my $l (0 .. $n - 1) {
- last if $s + $l > $n;
+ next if $s + $l > $n;
rst $v0;
pat $v0, $s, $l, 0;
my @b = (0);
my @s = ($p - $q) .. ($p + $q);
for my $s (@s) {
for my $l (0 .. $n - 1) {
- last if $s + $l > $n;
+ next if $s + $l > $n;
my $l2 = int($l/2);
rst $v0;
pat $v0, $s, $l2, $l - $l2, 0;