Project

General

Profile

Bug #1590

CRASH: LinKerZZ

Added by John Abbott about 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Safety
Target version:
Start date:
26 Apr 2021
Due date:
% Done:

100%

Estimated time:
1.49 h
Spent time:

Description

Florian reports:

LinKerZZ(mat(ZZ,[[1,1],[2,0],[0,3]])); --> CRASH!

Fn is undocumented, but should not crash.

History

#1 Updated by John Abbott about 3 years ago

The correct input should have been the transpose of the matrix.

#2 Updated by John Abbott about 3 years ago

  • Status changed from New to Feedback
  • Assignee set to John Abbott
  • % Done changed from 0 to 90
  • Estimated time set to 1.20 h

The problem was an incorrectly sized vector; the bug was "hidden" by a poor choice of variable name (was row, now changed to col_j).

Two quick tests passed. Maybe I'd better add a couple of tests to the suite?

#3 Updated by Anna Maria Bigatti over 2 years ago

works ok for me.

#4 Updated by John Abbott over 2 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100
  • Estimated time changed from 1.20 h to 1.49 h

There seems to be documentation now.
I have just added a new test test-MatrixOps1.C which tests the input given in the description.

Closing.

Also available in: Atom PDF