Fixed bayes_is_balanced function

This commit is contained in:
mdecimus
2023-10-25 16:58:33 +02:00
parent e551e094fd
commit 39ec03e9cc
2 changed files with 2 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ body:
label: Version
description: What version of our software are you running?
options:
- v0.4.x
- v0.3.x
- v0.2.x or lower
validations:

View File

@@ -260,7 +260,7 @@ pub fn exec_is_balanced(ctx: PluginContext<'_>) -> Variable {
);
return Variable::default();
};
let learn_spam = ctx.arguments[2].to_bool();
let learn_spam = ctx.arguments[1].to_bool();
// Obtain training counts
let handle = ctx.handle;