pspp-dev
[Top][All Lists]
Advanced

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

[patch #5968] initial version of interaction


From: John Darrington
Subject: [patch #5968] initial version of interaction
Date: Fri, 25 May 2007 04:17:37 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060607 Debian/1.7.12-1.2

Update of patch #5968 (project pspp):

             Assigned to:                    None => jstover                

    _______________________________________________________

Follow-up Comment #1:

I would prefer this to go in src/math instead of src/data.  

Instead of (var_get_type (v[i]) == VAR_STRING) you could write
var_is_alpha (v[i])

Similarly var_get_type (v[i]) == VAR_NUMERIC can become var_is_numeric
(v[i])


 for (i = 1; i < n_vars; i++)
     {
       tmp = 0.0;
       if (var_get_type (v[i]) == VAR_NUMERIC)
        {
          tmp *= vals[i]->f;
        }
     }

Can this ever result in tmp having a non-zero value??


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?5968>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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