ooh , my bad your right
didnt see that thank you
Olivier Delalleau-2 wrote:
>
> You are overriding your f1 function with a float (with
> "f1=f1(self.ptdata[i])"), so trying to call f1(xul) later will raise this
> exception.
>
> -=- Olivier
>
> 2011/6/10 jonasr
>
>>
>> Hello,
>> i have t
You are overriding your f1 function with a float (with
"f1=f1(self.ptdata[i])"), so trying to call f1(xul) later will raise this
exception.
-=- Olivier
2011/6/10 jonasr
>
> Hello,
> i have the following problem, the following code doesnt work
>
> def f1(x): return self.lgdata[2*i][0]*float(x)+s
Hello,
i have the following problem, the following code doesnt work
def f1(x): return self.lgdata[2*i][0]*float(x)+self.lgdata[2*i][1]
def f2(x): return self.lgdata[2*i+1][0]*float(x)+self.lgdata[2*i+1][1]
f1=f1(self.ptdata[i])
f2=f2(self.ptdata[i])
t=abs(f1-f2)
deltat.append(t)
temptot.append(f1
Hello,
i have the following problem, the following code doesnt work
def f1(x): return self.lgdata[2*i][0]*float(x)+self.lgdata[2*i][1]
def f2(x): return self.lgdata[2*i+1][0]*float(x)+self.lgdata[2*i+1][1]
f1=f1(self.ptdata[i])
2=f2(self.ptdata[i])
t=abs(f1-f2)
deltat.append(t)
temptot.append(f1)