fix operator_p_(co)domain (thanks to Christian Holme)
@@ -301,7 +301,7 @@ const struct operator_p_s* operator_p_ref(const struct operator_p_s* x)
const struct iovec_s* operator_p_domain(const struct operator_p_s* op)
{
assert(3 == op->op.N);
- assert(1u == op->op.io_flags);
+ assert(2u == op->op.io_flags);
return op->op.domain[2];
}
@@ -314,7 +314,7 @@ const struct iovec_s* operator_p_domain(const struct operator_p_s* op)
const struct iovec_s* operator_p_codomain(const struct operator_p_s* op)
{
assert(3 == op->op.N);
- assert(1u == op->op.io_flags);
+ assert(2u == op->op.io_flags);
return op->op.domain[1];
}
