Skip to content

Commit bf6ce68

Browse files
committed
Fix generation of sparse pattern for systems with just one state
1 parent 60c93f5 commit bf6ce68

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Compiler/Template/CodegenC.tpl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3460,15 +3460,6 @@ int <%symbolName(modelNamePrefix,"initialAnalyticJacobian")%><%matrixname%>(void
34603460
>>
34613461
case _ then
34623462
match sparsepattern
3463-
case {(_,{})} then
3464-
<<
3465-
int <%symbolName(modelNamePrefix,"initialAnalyticJacobian")%><%matrixname%>(void* inData)
3466-
{
3467-
TRACE_PUSH
3468-
TRACE_POP
3469-
return 1;
3470-
}
3471-
>>
34723463
case _ then
34733464
let &eachCrefParts = buffer ""
34743465
let sp_size_index = lengthListElements(unzipSecond(sparsepattern))

0 commit comments

Comments
 (0)