diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2017-02-10 12:29:17 -0500 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2017-02-10 12:29:17 -0500 |
commit | 8dde8a8c21cbaf7b3e37b0abcb3dc86baae04d2e (patch) | |
tree | 10dec5342281cfac51843d74f5666f16c3f32bfd /lib | |
parent | 0ef0c0ce1d904be2b4e1f4da62dc029d8572c983 (diff) | |
download | fuse_networks-8dde8a8c21cbaf7b3e37b0abcb3dc86baae04d2e.tar.gz fuse_networks-8dde8a8c21cbaf7b3e37b0abcb3dc86baae04d2e.tar.bz2 fuse_networks-8dde8a8c21cbaf7b3e37b0abcb3dc86baae04d2e.zip |
fixed net_copy: wasn't copying the voltcurmat
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; } |