Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#3501 closed defect (fixed)

Wrong sparsity information reported by -lv LOG_SOLVER

Reported by: casella Owned by: lochel
Priority: normal Milestone: 1.9.4
Component: Run-time Version:
Keywords: Cc: lochel, wbraun

Description

If I simulate the following simple model with -lv LOG_SOLVER

model foo
  Real x1,x2;
equation
  der(x1) = x2;
  der(x2) = x1;
end foo;

I get

LOG_SOLVER        | info    | sparse structure of jacobian A [size: 2x2]
|                 | |       | | 2 nonzero elements
|                 | |       | | transposed sparse structure (rows: states)
|                 | |       | | |   * 
|                 | |       | | | * * 

The number of nonzero elements is correct, but there is one star too many in the sparse structure table.

Change History (5)

comment:1 Changed 9 years ago by lochel

  • Owner changed from somebody to lochel
  • Status changed from new to accepted

comment:2 Changed 9 years ago by lochel

This is just a bug in the dump itself, which means that the generated sparsity structure is correct. A fix is on the way.

comment:3 Changed 9 years ago by lochel

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed in 74bab6.

comment:4 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.9.4 to 1.9.4-1.9.x

Milestone renamed

comment:5 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.9.4-1.9.x to 1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.