Skip to content

Commit

Permalink
Repaired load method (#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo-ter-Doest authored May 26, 2024
1 parent ccdc9a1 commit 6f045e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/natural/classifiers/logistic_regression_classifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class LogisticRegressionClassifier extends Classifier {
}

static load (filename, stemmer, callback) {
Classifier.load(filename, (err, classifier) => {
Classifier.load(filename, stemmer, (err, classifier) => {
if (err) {
callback(err)
} else {
Expand Down

0 comments on commit 6f045e7

Please sign in to comment.