Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make unary "-" work with @tf #467

Merged
merged 5 commits into from
Nov 12, 2018
Merged

Make unary "-" work with @tf #467

merged 5 commits into from
Nov 12, 2018

Conversation

MoonCoral
Copy link
Contributor

As is, it errors because of the name keyword when used with @tf.

@codecov
Copy link

codecov bot commented Nov 11, 2018

Codecov Report

Merging #467 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #467   +/-   ##
=====================================
  Coverage      48%    48%           
=====================================
  Files          79     79           
  Lines        2652   2652           
=====================================
  Hits         1273   1273           
  Misses       1379   1379
Impacted Files Coverage Δ
src/ops/math.jl 73.01% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c5aa7a8...f044718. Read the comment docs.

@oxinabox
Copy link
Collaborator

Thanks for this. I didn't know it was borked.

Can you add a test for this in test/meta.jl

Also I am pretty sure it needs a @op before the function.

@MoonCoral
Copy link
Contributor Author

Not sure why Travis is segfaulting in the python 3 instances, I'm using python 3 locally and everything related to this PR seems to work.

@oxinabox
Copy link
Collaborator

I have kicked it to retry.
It looks right to me.

@MoonCoral
Copy link
Contributor Author

The same failure seems to happen since a month. See #435

@oxinabox
Copy link
Collaborator

Well fair enough,
I've openned another PR to track that #468

Copy link
Collaborator

@oxinabox oxinabox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@oxinabox oxinabox merged commit 92f9595 into malmaud:master Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants