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

Update arraymancer dependency, remove len #64

Merged
merged 9 commits into from
Feb 19, 2024
Merged

Conversation

Vindaar
Copy link
Member

@Vindaar Vindaar commented Feb 19, 2024

Removes our custom len due to the arraymancer addition of it.

And a minor improvement to the formula logic, which now ignores any procedures, which use the {.error.} pragma for potential type matching.

Without the previous commit of checking for the error pragma the
original tests did now not pass. We were generating code `Tensor +
Scalar` in the previous version for this. But that was never actually
intended. Technically it was simply allowed and 'correct' given our
logic and available tools in arraymancer.
On versions other than devel, `max` here is being bound to the new
`max` that takes `varargs[Tensor]` and produces `Tensor`, breaking the formula!
@Vindaar Vindaar merged commit 515a66b into master Feb 19, 2024
18 checks passed
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.

1 participant