summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/solver
diff options
context:
space:
mode:
author couriersud <couriersud@arcor.de>2016-04-15 16:43:35 +0200
committer couriersud <couriersud@arcor.de>2016-04-18 18:31:50 +0200
commit222adaf847db2ee6fa591abcdd5b7ca4d3343fe7 (patch)
tree6873d366900eb26f734388ff335785b4fe9091b9 /src/lib/netlist/solver
parent2762b9f5acb7efb5214945b7678ff2b6c8fefd97 (diff)
merge me later bug fix
Diffstat (limited to 'src/lib/netlist/solver')
-rw-r--r--src/lib/netlist/solver/nld_ms_gcr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/netlist/solver/nld_ms_gcr.h b/src/lib/netlist/solver/nld_ms_gcr.h
index f83a8b3c6a5..47ad4259475 100644
--- a/src/lib/netlist/solver/nld_ms_gcr.h
+++ b/src/lib/netlist/solver/nld_ms_gcr.h
@@ -89,9 +89,12 @@ void matrix_solver_GCR_t<m_N, _storage_N>::vsetup(analog_net_t::list_t &nets)
if (touched[k][col])
{
if (touched[row][col])
+ {
if (static_compile) printf(" A(%d,%d) += f%d * A(%d,%d); \n", row, col, fc, k, col);
- else
+ } else
+ {
if (static_compile) printf(" A(%d,%d) = f%d * A(%d,%d); \n", row, col, fc, k, col);
+ }
touched[row][col] = true;
ops += 2;
}