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

Loosen type restrictions #45

Merged
merged 2 commits into from Jun 2, 2016
Merged

Conversation

jmxpearson
Copy link
Contributor

  • Removing the last of restrictions toAbstractFloat instead of Real.
  • Doc fixes.
  • Previously inplace functions in utils.jl only accepted diagonal dispatch (i.e., all eltypes had to match). This has been relaxed.
  • Generics in generics.jl now allocate storage for inplace methods with element type that is the promotion of the element types of arguments.

Closes #44.

- also fixing some extraneous type parameters that aren't needed
- utils now accept looser than diagonal typing
- generics make sure to allocate storage big enough to hold result of
  mixed argument types
@jmxpearson
Copy link
Contributor Author

I'm leaving this up for a bit for others to take a look and comment before I merge.

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.

Looser typing for utility functions
1 participant