diff options
Diffstat (limited to 'src/lib/netlist/devices/nlid_proxy.h')
-rw-r--r-- | src/lib/netlist/devices/nlid_proxy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/devices/nlid_proxy.h b/src/lib/netlist/devices/nlid_proxy.h index 30043580306..0badfd92006 100644 --- a/src/lib/netlist/devices/nlid_proxy.h +++ b/src/lib/netlist/devices/nlid_proxy.h @@ -104,7 +104,7 @@ namespace netlist private: - static constexpr const nl_fptype G_OFF = plib::constants<nl_fptype>::cast(1e-9); + static constexpr const nl_fptype G_OFF = nlconst::magic(1e-9); plib::unique_ptr<analog_output_t> m_GNDHack; // FIXME: Long term, we need to connect proxy gnd to device gnd plib::unique_ptr<analog_output_t> m_VCCHack; // FIXME: Long term, we need to connect proxy gnd to device gnd |