Re: [ng-spice-devel] Rework14 - Prerelease1


To ng-spice-devel@ieee.ing.uniroma1.it
From Paolo Nenzi <pnenzi@ieee.ing.uniroma1.it>
Date Wed, 7 Feb 2001 23:11:54 +0100 (CET)
Delivered-To mailing list ng-spice-devel@ieee.ing.uniroma1.it
In-Reply-To <Pine.SOL.3.96.1010207164406.21196A-100000@bitter.mit.edu >
Mailing-List contact ng-spice-devel-help@ieee.ing.uniroma1.it; run by ezmlm
Reply-To ng-spice-devel@ieee.ing.uniroma1.it


On Wed, 7 Feb 2001 mcmahill@mtl.mit.edu wrote:

> Hi Paolo,
> 
> A couple of bugs.  
> 
> the following are missing from the tar file:  spinit setplot spectrum
> 
> also I think the new CALLOC is wrong:
> 
> --- src/maths/sparse/spdefs.h.orig      Wed Feb  7 09:34:39 2001
> +++ src/maths/sparse/spdefs.h   Wed Feb  7 15:58:55 2001
> @@ -260,5 +260,5 @@
>  #ifndef HAVE_LIBGC
>  #define CALLOC(ptr,type,number)                   \
> -{ ptr = (type *) calloc(type, number);            \
> +{ ptr = (type *) calloc( number , sizeof(type) ); \
>  }
>  #else /* HAVE_LIBCG */

Thanks, patched. Tomorrow pre2 will be out. 

Bye,
Paolo


Partial thread listing: