summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/analog/nlid_twoterm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/analog/nlid_twoterm.h')
-rw-r--r--src/lib/netlist/analog/nlid_twoterm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/netlist/analog/nlid_twoterm.h b/src/lib/netlist/analog/nlid_twoterm.h
index 9c37f959f59..816729bb4af 100644
--- a/src/lib/netlist/analog/nlid_twoterm.h
+++ b/src/lib/netlist/analog/nlid_twoterm.h
@@ -89,20 +89,20 @@ namespace analog
void solve_later(netlist_time delay = netlist_time::quantum());
- void set_G_V_I(const nl_fptype G, const nl_fptype V, const nl_fptype I)
+ void set_G_V_I(nl_fptype G, nl_fptype V, nl_fptype I) const noexcept
{
/* GO, GT, I */
m_P.set_go_gt_I( -G, G, ( V) * G - I);
m_N.set_go_gt_I( -G, G, ( -V) * G + I);
}
- nl_fptype deltaV() const
+ nl_fptype deltaV() const noexcept
{
return m_P.net().Q_Analog() - m_N.net().Q_Analog();
}
- void set_mat(const nl_fptype a11, const nl_fptype a12, const nl_fptype rhs1,
- const nl_fptype a21, const nl_fptype a22, const nl_fptype rhs2)
+ void set_mat(nl_fptype a11, nl_fptype a12, nl_fptype rhs1,
+ nl_fptype a21, nl_fptype a22, nl_fptype rhs2) const noexcept
{
/* GO, GT, I */
m_P.set_go_gt_I(a12, a11, rhs1);