aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/classifier_test.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/classifier_test.pl b/utils/classifier_test.pl
index be46e9b00..2dbb4e903 100644
--- a/utils/classifier_test.pl
+++ b/utils/classifier_test.pl
@@ -431,7 +431,7 @@ sub cross_validate {
shuffle_array( \@files_spam );
foreach my $fn (@files_spam) {
- my $r = $check_func->( $fn, 1, \$fp_ham, \$fn_ham, \$detected_spam );
+ my $r = $check_func->( $fn, 1, \$fp_ham, \$fn_spam, \$detected_spam );
$total_spam += $r;
$processed += $r;
}
@@ -439,7 +439,7 @@ sub cross_validate {
shuffle_array( \@files_ham );
foreach my $fn (@files_ham) {
- my $r = $check_func->( $fn, 0, \$fp_spam, \$fn_spam, \$detected_ham );
+ my $r = $check_func->( $fn, 0, \$fp_spam, \$fn_ham, \$detected_ham );
$total_ham += $r;
$processed += $r;
}