diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -129,6 +129,7 @@ net_t *net_copy(const net_t *net, cholmod_common *c) { net_copy->boundary_cond = CHOL_F(copy_dense)(net->boundary_cond, c); net_copy->factor = CHOL_F(copy_factor)(net->factor, c); + net_copy->voltcurmat = CHOL_F(copy_sparse)(net->voltcurmat, c); return net_copy; } |