help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] How to work with PLPLOT & GSL in one common group ?


From: Sergey Shcherbina
Subject: [Help-gsl] How to work with PLPLOT & GSL in one common group ?
Date: Tue, 06 Mar 2018 20:41:43 +0200

Hi!

In an attempt to connect them what we have after compilation:

Select_From_MySQLxEMSCxYMDMxForRomaniax002b.c:99:97: warning: passing argument 
1 of ‘gsl_vector_max’ from incompatible pointer type 
[-Wincompatible-pointer-types]
  printf ( " A1. CountData=> %6d  SizeOf(IntLocEqRomDates)=> %6g\n", CountData, 
gsl_vector_max ( IntLocEqRomDates ) );
                                                                                
                 ^~~~~~~~~~~~~~~~
In file included from /usr/include/gsl/gsl_vector_complex_double.h:28:0,
                 from /usr/include/gsl/gsl_vector.h:5,
                 from Select_From_MySQLxEMSCxYMDMxForRomaniax002b.c:14:
/usr/include/gsl/gsl_vector_double.h:143:8: note: expected ‘const gsl_vector * 
{aka const struct <anonymous> *}’ but argument is of type ‘PLFLT * {aka double 
*}’
 double gsl_vector_max (const gsl_vector * v);


Code before it was next:

IntLocEqRomDates = (PLFLT *) calloc( NumGlobalRomaEq, sizeof ( PLFLT ) );

printf ( " A1. CountData=> %6d  SizeOf(IntLocEqRomDates)=> %6g\n", CountData, 
gsl_vector_max ( IntLocEqRomDates ) );

Regards,
Sergey.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]