소스 검색

Added power of one to implicit rules.

Taddeus Kroes 14 년 전
부모
커밋
43b69bd178
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/rules/precedences.py

+ 2 - 0
src/rules/precedences.py

@@ -9,6 +9,7 @@ from .negation import double_negation, negated_factor, negated_nominator, \
         negated_denominator, negated_zero
 from .fractions import multiply_with_fraction
 from .integrals import factor_out_constant
+from .powers import remove_power_of_one
 
 
 # Functions to move to the beginning of the possibilities list. Pairs of within
@@ -62,4 +63,5 @@ IMPLICIT_RULES = [
         multiply_zero,
         negated_zero,
         remove_zero,
+        remove_power_of_one,
         ]