From 1cf2de3d88798e032c1e821c03650d4c07c15856 Mon Sep 17 00:00:00 2001 From: mhx Date: Sat, 7 Jan 2017 01:47:23 +0100 Subject: [PATCH] BSIM vsn 4.6.5 can now be recognized as either "4.6.5" or "4.65", like all the other BSIM3/4 models. --- src/spicelib/devices/bsim4v6/b4v6check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spicelib/devices/bsim4v6/b4v6check.c b/src/spicelib/devices/bsim4v6/b4v6check.c index 6181eed1a..0ff686564 100644 --- a/src/spicelib/devices/bsim4v6/b4v6check.c +++ b/src/spicelib/devices/bsim4v6/b4v6check.c @@ -45,7 +45,7 @@ FILE *fplog; fprintf(fplog, "\n"); fprintf(fplog, "++++++++++ BSIM4v6 PARAMETER CHECKING BELOW ++++++++++\n"); - if (strcmp(model->BSIM4v6version, "4.6.5") != 0) + if ((strcmp(model->BSIM4v6version, "4.6.5")) && (strcmp(model->BSIM4v6version, "4.65"))) { fprintf(fplog, "Warning: This model is BSIM4.6.5; you specified a wrong version number.\n"); printf("Warning: This model is BSIM4.6.5; you specified a wrong version number.\n"); }