From a7110a3f637c17ae16338e6075c39c22c0aa8daf Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Fri, 12 May 2023 14:15:13 +0800 Subject: [PATCH] Update linalg.h --- src/linalg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/linalg.h b/src/linalg.h index 38071e47..4de7dc61 100644 --- a/src/linalg.h +++ b/src/linalg.h @@ -581,13 +581,13 @@ struct PyMat3x3: Mat3x3{ vm->bind_method<1>(type, "__eq__", [](VM* vm, ArgsView args){ PyMat3x3& self = _CAST(PyMat3x3&, args[0]); - PyMat3x3& other = _CAST(PyMat3x3&, args[1]); + PyMat3x3& other = CAST(PyMat3x3&, args[1]); return VAR(self == other); }); vm->bind_method<1>(type, "__ne__", [](VM* vm, ArgsView args){ PyMat3x3& self = _CAST(PyMat3x3&, args[0]); - PyMat3x3& other = _CAST(PyMat3x3&, args[1]); + PyMat3x3& other = CAST(PyMat3x3&, args[1]); return VAR(self != other); });