summaryrefslogtreecommitdiff
path: root/plugins/models-bsim/BSIM465/wrapper.h
diff options
authoral davis <[email protected]>2017-10-03 22:44:44 -0400
committeral davis <[email protected]>2017-10-03 22:44:44 -0400
commit5c0fd2402cbc6a327fe8dcbed27b142e17bfe755 (patch)
treee7ddf7b8fe09c73db2a3d1bfa410389273a8e353 /plugins/models-bsim/BSIM465/wrapper.h
parentaf119e0688b6c984103aca6ab544f246a5e6723b (diff)
parent88d8fab0668deb144230fb3a299c9456207f2248 (diff)
downloadgnucap-models-master.tar.gz
Merge branch 'develop'HEAD20171003master
Diffstat (limited to 'plugins/models-bsim/BSIM465/wrapper.h')
-rw-r--r--plugins/models-bsim/BSIM465/wrapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/models-bsim/BSIM465/wrapper.h b/plugins/models-bsim/BSIM465/wrapper.h
index efc43458..e4356311 100644
--- a/plugins/models-bsim/BSIM465/wrapper.h
+++ b/plugins/models-bsim/BSIM465/wrapper.h
@@ -24,7 +24,7 @@ static std::string state_names[] = {"vbd", "vbs", "vgs", "vds", "vdbs",
#define IS_VALID {itested(); \
assert(d); \
- const COMMON_SUBCKT* c = dynamic_cast<const COMMON_SUBCKT*>(d->common()); \
+ const COMMON_PARAMLIST* c = dynamic_cast<const COMMON_PARAMLIST*>(d->common()); \
assert(c); \
double l_in = c->_params["l"].e_val(OPT::defl, d->scope()); \
double w_in = c->_params["w"].e_val(OPT::defw, d->scope()); \