Browse Source

linmath: Fix wrong type printed in LMatrix3 repr

[skip ci]
rdb 2 days ago
parent
commit
f2c680ca29
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/linmath/lmatrix3_ext_src.I

+ 1 - 1
panda/src/linmath/lmatrix3_ext_src.I

@@ -47,7 +47,7 @@ __rmul__(FLOATTYPE scalar) const {
  */
 INLINE_LINMATH std::string Extension<FLOATNAME(LMatrix3)>::
 __repr__() const {
-  char buf[32 * 17] = "LMatrix4";
+  char buf[32 * 17] = "LMatrix3";
   char *p = buf + strlen(buf);
   *(p++) = FLOATTOKEN;
   *(p++) = '(';