summaryrefslogtreecommitdiff
path: root/plugins/models-bsim/BSIM420/wrapper.h
diff options
Diffstat (limited to 'plugins/models-bsim/BSIM420/wrapper.h')
-rw-r--r--plugins/models-bsim/BSIM420/wrapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/models-bsim/BSIM420/wrapper.h b/plugins/models-bsim/BSIM420/wrapper.h
index db12860b..22694556 100644
--- a/plugins/models-bsim/BSIM420/wrapper.h
+++ b/plugins/models-bsim/BSIM420/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()); \