This is the mail archive of the gsl-discuss@sourceware.cygnus.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug with gsl_blas ?



I fixed it a few days ago; didn't get a chance to reply.
Sorry about that. I've been trying to chase down those
size_t problems. That was probably one of the last ones.

-- 
G. Jungman


Fabrice Rossi wrote:
> 
> The problem comes from gsl_blas_daxpy and I really don't understand why. When
> I run the program under gdb, I end up in source_axpy_r.h in which the
> condition i<N-3 seems to not be evaluated correctly. Is this related to the
> fact N-3 is here a negative value, whereas size_t is unsigned? When I replace
> i<N-3 by: (int)i<(int)N-3, the program works...
> 
> Fabrice Rossi

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]