Fix non-inplace matrix multiplication operator.

This commit is contained in:
Michael Hansen
2019-10-10 11:47:48 -07:00
parent de3f7982c3
commit 375b8b0c68
3 changed files with 7 additions and 6 deletions

View File

@@ -29,9 +29,9 @@ const char* ASTBinary::op_str() const
{
static const char* s_op_strings[] = {
".", " ** ", " * ", " / ", " // ", " % ", " + ", " - ",
" << ", " >> ", " & ", " ^ ", " | ", " and ", " or ",
" << ", " >> ", " & ", " ^ ", " | ", " and ", " or ", " @ ",
" += ", " -= ", " *= ", " /= ", " %= ", " **= ", " <<= ",
" >>= ", " &= ", " ^= ", " |= ", " //= ", " @ ", " @= ",
" >>= ", " &= ", " ^= ", " |= ", " //= ", " @= ",
};
return s_op_strings[op()];
}