Re: [Vala] GSL binding problem: OdeivEvolve::apply

2009-03-10 Thread Yu Feng
On Mon, 2009-03-09 at 20:52 -0200, Matías De la Puente wrote: > Hi Yu, > > You are right they should be ref doubles not arrays. > Here's the patch > > diff --git a/vapi/gsl.vapi b/vapi/gsl.vapi > index 3ad9979..883c861 100644 > --- a/vapi/gsl.vapi > +++ b/vapi/gsl.vapi > @@ -3514,7 +3514,7 @@ nam

Re: [Vala] GSL binding problem: OdeivEvolve::apply

2009-03-09 Thread Matías De la Puente
Hi Yu, You are right they should be ref doubles not arrays. Here's the patch diff --git a/vapi/gsl.vapi b/vapi/gsl.vapi index 3ad9979..883c861 100644 --- a/vapi/gsl.vapi +++ b/vapi/gsl.vapi @@ -3514,7 +3514,7 @@ namespace Gsl [CCode (cname="gsl_odeiv_evolve_alloc")] public Odei

Re: [Vala] GSL binding problem: OdeivEvolve::apply

2009-03-09 Thread Matías De la Puente
Hi, Yu I'm on it :) Matias ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] GSL binding problem: OdeivEvolve::apply

2009-03-09 Thread Martin Vales
hi! Dear Martin, I notice another issue with Gsl binding. In Gsl.OdeivEvolve::apply, the time t and the step size are defined as an array. But they are really in-out parameters, which should be defined as 'ref'., aka: ref double t, ... ref double h. I don't know if there are also similar issu

[Vala] GSL binding problem: OdeivEvolve::apply

2009-03-09 Thread Feng Yu
Dear Martin, I notice another issue with Gsl binding. In Gsl.OdeivEvolve::apply, the time t and the step size are defined as an array. But they are really in-out parameters, which should be defined as 'ref'., aka: ref double t, ... ref double h. I don't know if there are also similar issues aro