diff options
Diffstat (limited to 'debug')
-rw-r--r-- | debug/gdb/printers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debug/gdb/printers.py b/debug/gdb/printers.py index 6f24ca8e3..a5230dc78 100644 --- a/debug/gdb/printers.py +++ b/debug/gdb/printers.py @@ -62,12 +62,12 @@ class EigenMatrixPrinter: template_params = m.split(',') template_params = map(lambda x:x.replace(" ", ""), template_params) - if template_params[1] == '-0x00000000000000001': + if template_params[1] == '-0x00000000000000001' or template_params[1] == '-0x000000001': self.rows = val['m_storage']['m_rows'] else: self.rows = int(template_params[1]) - if template_params[2] == '-0x00000000000000001': + if template_params[2] == '-0x00000000000000001' or template_params[2] == '-0x000000001': self.cols = val['m_storage']['m_cols'] else: self.cols = int(template_params[2]) |