Fixed bayes_is_balanced function
This commit is contained in:
1
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
1
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user