Mercurial > octave
changeset 32199:9f37b2b153d5
VM: Fix printing bytecode MATRIX_UNEVEN (patch #10364).
* libinterp/parse-tree/pt-bytecode-vm.cc (vm::opcodes_to_strings): Add missing
increment.
author | Petter T. <petter.vilhelm@gmail.com> |
---|---|
date | Fri, 16 Jun 2023 00:18:48 +0200 |
parents | 77cda48abf10 |
children | 09f9b8f663fb |
files | libinterp/parse-tree/pt-bytecode-vm.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/parse-tree/pt-bytecode-vm.cc Thu Jun 15 16:04:22 2023 +0200 +++ b/libinterp/parse-tree/pt-bytecode-vm.cc Fri Jun 16 00:18:48 2023 +0200 @@ -413,7 +413,7 @@ { if (p + 3 >= code + n) error ("Invalid bytecode\n"); - int i = chars_to_uint (p); + int i = chars_to_uint (p + 1); s += " ROWS"; PINT (); s += " COLS"; for (int j = 0; j < i; j++)