File tree Expand file tree Collapse file tree 4 files changed +0
-35
lines changed Expand file tree Collapse file tree 4 files changed +0
-35
lines changed Original file line number Diff line number Diff line change @@ -171,13 +171,6 @@ oobj PyFExpr::m__getitem__(py::robj item) {
171171
172172
173173// ----- Basic arithmetics ------------------------------------------------------
174-
175- // static oobj make_unexpr(dt::expr::Op op, const PyObject* self) {
176- // return robj(Expr_Type).call({
177- // oint(static_cast<int>(op)),
178- // otuple{oobj(self)}});
179- // }
180-
181174static oobj make_binexpr (dt::expr::Op op, robj lhs, robj rhs) {
182175 return robj (Expr_Type).call ({
183176 oint (static_cast <int >(op)),
@@ -215,21 +208,6 @@ bool PyFExpr::nb__bool__() {
215208 " f.B != 0\n " ;
216209}
217210
218- // oobj PyFExpr::nb__invert__() {
219- // return make_unexpr(dt::expr::Op::UINVERT, this);
220- // }
221-
222- // oobj PyFExpr::nb__neg__() {
223- // return make_unexpr(dt::expr::Op::UMINUS, this);
224- // }
225-
226- // oobj PyFExpr::nb__pos__() {
227- // return make_unexpr(dt::expr::Op::UPLUS, this);
228- // }
229-
230-
231-
232-
233211// ----- Other methods ----------------------------------------------------------
234212
235213oobj PyFExpr::extend (const XArgs& args) {
Original file line number Diff line number Diff line change @@ -175,9 +175,6 @@ class PyFExpr : public py::XObject<PyFExpr> {
175175 static py::oobj nb__lshift__ (py::robj, py::robj);
176176 static py::oobj nb__rshift__ (py::robj, py::robj);
177177 bool nb__bool__ ();
178- // py::oobj nb__invert__();
179- // py::oobj nb__neg__();
180- // py::oobj nb__pos__();
181178
182179 py::oobj len (); // [DEPRECATED]
183180 py::oobj re_match (const py::XArgs&); // [DEPRECATED]
Original file line number Diff line number Diff line change @@ -60,11 +60,6 @@ static const umaker_ptr& get_umaker(Op opcode, SType stype) {
6060umaker_ptr resolve_op (Op opcode, SType stype)
6161{
6262 switch (opcode) {
63- // Basic
64- case Op::UPLUS: return resolve_op_uplus (stype);
65- // case Op::UMINUS: return resolve_op_uminus(stype);
66- // case Op::UINVERT: return resolve_op_uinvert(stype);
67-
6863 // Math: trigonometric
6964 case Op::SIN: return resolve_op_sin (stype);
7065 case Op::COS: return resolve_op_cos (stype);
Original file line number Diff line number Diff line change @@ -81,11 +81,6 @@ using umaker_ptr = std::unique_ptr<umaker>;
8181// Main resolver, calls individual-op resolvers below
8282umaker_ptr resolve_op (Op, SType);
8383
84- // Basic
85- umaker_ptr resolve_op_uplus (SType);
86- // umaker_ptr resolve_op_uminus(SType);
87- // umaker_ptr resolve_op_uinvert(SType);
88-
8984// Trigonometric
9085umaker_ptr resolve_op_sin (SType);
9186umaker_ptr resolve_op_cos (SType);
You can’t perform that action at this time.
0 commit comments