Block decomposition: another fix for sparse indices of static Jacobian when mfs > 0

master
Sébastien Villemot 2023-01-19 10:03:37 +01:00
parent 7db02b23e9
commit c47d91c20b
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 1 additions and 1 deletions

View File

@ -690,7 +690,7 @@ StaticModel::computeChainRuleJacobian()
if (eq >= nb_recursives && var >= nb_recursives)
blocks_jacobian_sparse_column_major_order[blk].emplace(pair{eq-nb_recursives, var-nb_recursives}, d1);
}
blocks_jacobian_sparse_colptr[blk] = computeCSCColPtr(blocks_jacobian_sparse_column_major_order[blk], size);
blocks_jacobian_sparse_colptr[blk] = computeCSCColPtr(blocks_jacobian_sparse_column_major_order[blk], blocks[blk].mfs_size);
}
}
}