Skip to content

Commit 74bab69

Browse files
committed
Fix dump of sparsity information
(ticket 3501)
1 parent 8734a49 commit 74bab69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SimulationRuntime/c/simulation/solver/model_help.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ void printSparseStructure(DATA *data, int stream)
388388
}
389389
buffer[j++] = ' ';
390390
}
391+
buffer[j] = '\0';
391392
infoStreamPrint(stream, 0, "%s", buffer);
392393
}
393394
messageClose(stream);

0 commit comments

Comments
 (0)