Re: variable weirdness
Re: variable weirdness
- Subject: Re: variable weirdness
- From: Erik Grumstrup <email@hidden>
- Date: Sun, 12 Feb 2006 10:38:58 -0600
On Feb 11, 2006, at 12:58 PM, Cameron Hayne wrote:
On 11-Feb-06, at 10:42 AM, Scott Ribe wrote:
Any chance you have:
my_a[1]=
...
my_a[13]=
Instead of:
my_a[0]=
...
my_a[12]=
Ah - good catch Scott!
I didn't notice that Erik's example started with index=1.
This is, unfortunately, not the problem. I have initialized the
array my_a[13], set my_a[0]=0, and used my_a[1]-my_a[12] as my
arguments since numerical recipes has this unfortunate indexing
problem. Putting the floating point value in for the first argument
as suggested resulted in the same behavior as before; that is, the
function gets the first argument as 0.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden