Skip to content

Commit

Permalink
use IdExpr
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS committed May 14, 2020
1 parent 1e87f80 commit f441e2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Expand Up @@ -3,15 +3,15 @@ dist: xenial
language: python
python:
- 3.5
- 3.6
- 3.7
- 3.8
# - 3.6
# - 3.7
# - 3.8

env:
- TEST=API
- TEST=E2E LANG="c_lang or python or java or go_lang or javascript or php or haskell or ruby"
- TEST=E2E LANG="c_sharp or visual_basic or powershell"
- TEST=E2E LANG="r_lang or dart"
- TEST=E2E LANG="python"
# - TEST=E2E LANG="c_sharp or visual_basic or powershell"
# - TEST=E2E LANG="r_lang or dart"

before_install:
- bash .travis/setup.sh
Expand Down
2 changes: 1 addition & 1 deletion m2cgen/assemblers/fallback_expressions.py
Expand Up @@ -3,7 +3,7 @@


def tanh(expr):
expr.to_reuse = True
expr = ast.IdExpr(expr, to_reuse=True)
tanh_expr = utils.sub(
ast.NumVal(1.0),
utils.div(
Expand Down

0 comments on commit f441e2a

Please sign in to comment.