From bb1d38f8fa5a28db9d516f89b6930dab7b53c017 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Thu, 28 Sep 2023 23:07:48 +0800 Subject: [PATCH] ... --- src/linalg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linalg.cpp b/src/linalg.cpp index 540bbdd8..fb2d75ce 100644 --- a/src/linalg.cpp +++ b/src/linalg.cpp @@ -23,7 +23,7 @@ namespace pkpy{ }); #define BIND_VEC_FUNCTION_1(D, name) \ - vm->bind_method<0>(type, #name, [](VM* vm, ArgsView args){ \ + vm->bind_method<1>(type, #name, [](VM* vm, ArgsView args){ \ PyVec##D& self = _CAST(PyVec##D&, args[0]); \ PyVec##D& other = CAST(PyVec##D&, args[1]); \ return VAR(self.name(other)); \