From b2e99c2ef4af45fa51b3f4a4a573537d11df2889 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 5 Feb 2023 01:09:59 +0100 Subject: [PATCH] Fix warning. --- mlpp/mlp/mlp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlpp/mlp/mlp.cpp b/mlpp/mlp/mlp.cpp index dca1b50..792c1eb 100644 --- a/mlpp/mlp/mlp.cpp +++ b/mlpp/mlp/mlp.cpp @@ -502,7 +502,7 @@ void MLPPMLP::_bind_methods() { ClassDB::bind_method(D_METHOD("sgd", "learning_rate", "max_epoch", "UI"), &MLPPMLP::sgd, false); ClassDB::bind_method(D_METHOD("mbgd", "learning_rate", "max_epoch", "mini_batch_size", "UI"), &MLPPMLP::mbgd, false); - ClassDB::bind_method(D_METHOD("score", "x"), &MLPPMLP::score); + ClassDB::bind_method(D_METHOD("score"), &MLPPMLP::score); ClassDB::bind_method(D_METHOD("save", "file_name"), &MLPPMLP::save); }