Skip to content

Commit

Permalink
Merge pull request #318 from microsoft/bxdd-patch-2
Browse files Browse the repository at this point in the history
Fix code in ops
  • Loading branch information
you-n-g authored Mar 10, 2021
2 parents 91eef93 + 81987bb commit 2e37033
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions qlib/data/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ class NpElemOperator(ElemOperator):
"""

def __init__(self, feature, func):
self.feature = feature
self.func = func
super(NpElemOperator, self).__init__(feature)

Expand Down Expand Up @@ -289,8 +288,6 @@ class NpPairOperator(PairOperator):
"""

def __init__(self, feature_left, feature_right, func):
self.feature_left = feature_left
self.feature_right = feature_right
self.func = func
super(NpPairOperator, self).__init__(feature_left, feature_right)

Expand Down

0 comments on commit 2e37033

Please sign in to comment.