Skip to content

Commit

Permalink
Merge pull request #272 from choleraehyq/simplecondition
Browse files Browse the repository at this point in the history
parser: fix SimpleCondtition -> SimpleCondition
  • Loading branch information
zakheav authored Jun 30, 2020
2 parents a82405d + fbc8da3 commit 21862af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion euler/parser/attribute_calculator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ limitations under the License.

namespace euler {

bool SimpleCondtition(TreeNode* t) {
bool SimpleCondition(TreeNode* t) {
std::vector<TreeNode*> children = t->GetChildren();
std::string op = children[0]->GetValue();
std::string p = children[1]->GetValue();
Expand Down
2 changes: 1 addition & 1 deletion euler/parser/attribute_calculator.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.

namespace euler {

bool SimpleCondtition(TreeNode* t);
bool SimpleCondition(TreeNode* t);
bool HasKey(TreeNode* t);
bool HasLabel(TreeNode* t);
bool Has(TreeNode* t);
Expand Down
2 changes: 1 addition & 1 deletion euler/parser/translator.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace euler {
class Translator {
public:
explicit Translator(OptimizerType type) : env_type_(type) {
func_map_["SIMPLE_CONDITION"] = SimpleCondtition;
func_map_["SIMPLE_CONDITION"] = SimpleCondition;
func_map_["HAS_KEY"] = HasKey;
func_map_["HAS_LABEL"] = HasLabel;
func_map_["HAS"] = Has;
Expand Down

0 comments on commit 21862af

Please sign in to comment.