Commit 39f2eda6 authored by Jim Fulton's avatar Jim Fulton

Added macros to support value merging in set operations.

parent 265bc3ad
......@@ -10,3 +10,6 @@
PyErr_SetString(PyExc_TypeError, "expected integer value"); \
*(STATUS)=0; }
#define MERGE_DEFAULT 1
#define MERGE(O1, w1, O2, w2) ((O1)*(w1)+(O2)*(w2))
#define MERGE_WEIGHT(O, w) ((O)*(w))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment