From b1d5d82fb88fd4157d3c47a9de86583d8770877f Mon Sep 17 00:00:00 2001 From: "jules@lens" Date: Thu, 13 Sep 2018 19:03:22 +0200 Subject: isdigit --- build_dataset.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build_dataset.pl') diff --git a/build_dataset.pl b/build_dataset.pl index f88b818..9d77766 100755 --- a/build_dataset.pl +++ b/build_dataset.pl @@ -39,7 +39,7 @@ my $dir; my $src; my $dst; for ($i = 0; $i < $count; $i++) { - if (($i % $test_split) = ($test_split-1)) { + if (($i % $test_split) == ($test_split-1)) { $dir = $thumbs_dir . "test_"; $src = $images_dir . $images[$i]; -- cgit v1.2.3-70-g09d2