summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/devices/nld_4066.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@arcor.de>2016-07-01 02:09:14 +0200
committer couriersud <couriersud@arcor.de>2016-07-01 02:09:14 +0200
commitcaafc0f7823054c21a67f096650b2f4a333469c3 (patch)
treebff4849aa0c539fa0cc06ed630f83fd949e37ebc /src/lib/netlist/devices/nld_4066.cpp
parent1f0dc8903f8b865107af2e74758b0ad042c2a8b5 (diff)
Netlist improvements:
- nltool now accepts -Ddefine=value to pass on to netlists - improved option handling and added "dummy" options to add grouping and examples in help output. - improved --cmd=listdevices output - Fix dynamic timestepping. This will work with breakout using real capacitor modelling instead of delay devices. Really slow, but very useful to calibrate timings. - Fix an awful bug in timing for delay devices. - Switched to clang 3.8 and made code compile with -Weverything -Werror -Wno-old-style-cast -Wno-padded -Wno-weak-vtables -Wno-missing-variable-declarations -Wno-conversion -Wno-c++98-compat -Wno-float-equal -Wno-cast-align -Wno-global-constructors -Wno-c++98-compat-pedantic -Wno-exit-time-destructors -Wno-format-nonliteral -Wno-weak-template-vtables This was a helpful exercise since it brought forward some serious issues with implicit constructors. [Couriersud]
Diffstat (limited to 'src/lib/netlist/devices/nld_4066.cpp')
-rw-r--r--src/lib/netlist/devices/nld_4066.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/devices/nld_4066.cpp b/src/lib/netlist/devices/nld_4066.cpp
index 4fc78357e84..33b78ddf1b7 100644
--- a/src/lib/netlist/devices/nld_4066.cpp
+++ b/src/lib/netlist/devices/nld_4066.cpp
@@ -55,7 +55,7 @@ namespace netlist
if (R > NL_FCONST(0.0))
{
// We only need to update the net first if this is a time stepping net
- if (1) // m_R.m_P.net().as_analog().solver().is_timestep())
+ if ((1)) // m_R.m_P.net().as_analog().solver().is_timestep())
{
m_R.update_dev();
m_R.set_R(R);