[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnucap-models
From: |
karl |
Subject: |
Re: gnucap-models |
Date: |
Mon, 4 Apr 2022 14:17:18 +0200 (CEST) |
Felix:
> On Mon, Apr 04, 2022 at 01:41:15PM +0200, karl@aspodata.se wrote:
> > No, this is just some half-thought-trough code, aka. a bug. The result is
> > undefined.
>
> If it's a bug, then, don't we want to see the warning about it?
Yes, we have it from the compiler:
b4temp.c:1408:60: warning: format %g expects a matching double argument
[-Wformat=]
> > We don't know if the author meant T3 or pParam->BSIM4ku0we. Since T3 is
> > set tho zero before the fprintf(), it is probably the latter value
> > which is wanted. But then, did they want the pParam->BSIM4ku0we value or
> > pParam->BSIM4ku0we * sceff ?
>
> I don't know, maybe there is another version of the file circulating on
> the internet giving some ideas? Why is it worth the trouble?
...
Simple fix.
Regards,
/Karl Hammar