File tree Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -87,41 +87,7 @@ class FExpr_UnaryMinus : public FExpr_FuncUnary {
8787 }
8888};
8989
90-
91- // gets the count of all rows - nulls are not checked
92- class FExpr_UnaryMinus_Node : public FExpr_Func {
93- private:
94- ptrExpr arg_;
95- public:
96- FExpr_UnaryMinus_Node (ptrExpr &&arg)
97- : arg_(std::move(arg))
98- {}
99-
100- std::string repr () const override {
101- std::string out = " uminus" ;
102- out += ' (' ;
103- out += arg_->repr ();
104- out += ' )' ;
105- return out;
106- }
107-
108- Workframe evaluate_n (EvalContext &ctx) const override {
109- Workframe wf (ctx);
110-
111- return wf;
112- }
113-
114- };
115-
11690py::oobj PyFExpr::nb__neg__ (py::robj src) {
117- std::cout<<src.is_by_node ()<<std::endl;
118- std::cout<<src.is_sort_node ()<<std::endl;
119- if (src.is_by_node ()){
120- return PyFExpr::make (
121- new FExpr_UnaryMinus_Node (as_fexpr (src)));
122-
123- }
124-
12591 return PyFExpr::make (
12692 new FExpr_UnaryMinus (as_fexpr (src)));
12793}
You can’t perform that action at this time.
0 commit comments