summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/solver/nld_ms_gcr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/solver/nld_ms_gcr.h')
-rw-r--r--src/lib/netlist/solver/nld_ms_gcr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/netlist/solver/nld_ms_gcr.h b/src/lib/netlist/solver/nld_ms_gcr.h
index 3aa39b7bb54..bfc92ba97f9 100644
--- a/src/lib/netlist/solver/nld_ms_gcr.h
+++ b/src/lib/netlist/solver/nld_ms_gcr.h
@@ -90,9 +90,9 @@ namespace solver
this->log().verbose("maximum fill: {1}", gr.first);
this->log().verbose("Post elimination occupancy ratio: {2} Ops: {1}", gr.second,
- static_cast<double>(mat.nz_num) / static_cast<double>(iN * iN));
+ static_cast<nl_fptype>(mat.nz_num) / static_cast<nl_fptype>(iN * iN));
this->log().verbose(" Pre elimination occupancy ratio: {2}",
- static_cast<double>(raw_elements) / static_cast<double>(iN * iN));
+ static_cast<nl_fptype>(raw_elements) / static_cast<nl_fptype>(iN * iN));
// FIXME: Move me
@@ -131,7 +131,7 @@ namespace solver
mat_type mat;
- plib::dynproc<void, double * , double * , double * > m_proc;
+ plib::dynproc<void, nl_fptype * , nl_fptype * , nl_fptype * > m_proc;
};
@@ -238,7 +238,7 @@ namespace solver
/* populate matrix */
- this->fill_matrix(iN, m_mat_ptr, RHS);
+ this->fill_matrix(iN, RHS);
/* now solve it */