[BACK]Return to dp-supp.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / builtin

Diff for /OpenXM_contrib2/asir2000/builtin/dp-supp.c between version 1.48 and 1.49

version 1.48, 2007/10/21 07:47:59 version 1.49, 2009/01/04 05:44:51
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2000/builtin/dp-supp.c,v 1.47 2007/10/14 02:32:21 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/builtin/dp-supp.c,v 1.48 2007/10/21 07:47:59 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "base.h"  #include "base.h"
Line 1683  int create_order_spec(VL vl,Obj obj,struct order_spec 
Line 1683  int create_order_spec(VL vl,Obj obj,struct order_spec 
         struct order_pair *l;          struct order_pair *l;
         NODE node,t,tn;          NODE node,t,tn;
         MAT m;          MAT m;
         pointer **b;          VECT v;
           pointer **b,*bv;
         int **w;          int **w;
   
         if ( vl && obj && OID(obj) == O_LIST ) {          if ( vl && obj && OID(obj) == O_LIST ) {
Line 1720  int create_order_spec(VL vl,Obj obj,struct order_spec 
Line 1721  int create_order_spec(VL vl,Obj obj,struct order_spec 
                 spec->id = 2; spec->obj = obj;                  spec->id = 2; spec->obj = obj;
                 spec->nv = col; spec->ord.matrix.row = row;                  spec->nv = col; spec->ord.matrix.row = row;
                 spec->ord.matrix.matrix = w;                  spec->ord.matrix.matrix = w;
                   return 1;
           } else if ( OID(obj) == O_VECT ) {
                   v = (VECT)obj; bv = BDY(v);
                   if ( v->len < 2 ) error("create_order_spec : invalid argument");
                   create_order_spec(0,(Obj)bv[1],&spec);
                   spec->id += 256; spec->obj = obj;
                   spec->istop = bv[0]==0;
                   *specp = spec;
                 return 1;                  return 1;
         } else          } else
                 return 0;                  return 0;

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>