[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: var->index versus var in linreg code
From: |
Ben Pfaff |
Subject: |
Re: var->index versus var in linreg code |
Date: |
Tue, 05 Dec 2006 20:07:11 -0800 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Here's another one in the same vein that I missed on my first
pass:
--- regression.q.~1.39.~ 2006-12-04 20:27:29.000000000 -0800
+++ regression.q 2006-12-05 20:05:15.000000000 -0800
@@ -722,7 +722,7 @@ reg_inserted (const struct variable *v,
for (i = 0; i < n_vars; i++)
{
- if (v->index == varlist[i]->index)
+ if (v == varlist[i])
{
return 1;
}
--
"Note that nobody reads every post in linux-kernel. In fact, nobody who
expects to have time left over to actually do any real kernel work will
read even half. Except Alan Cox, but he's actually not human, but about
a thousand gnomes working in under-ground caves in Swansea." --Linus