Skip to content

Improve typing in transforms.jl #232

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

Closed
xukai92 opened this issue May 4, 2017 · 0 comments
Closed

Improve typing in transforms.jl #232

xukai92 opened this issue May 4, 2017 · 0 comments

Comments

@xukai92
Copy link
Member

xukai92 commented May 4, 2017

Some link/invlink don't deal with typing in a good manner. There are two things to improve

  1. Replace constants 1 and 0 using one(T) and zero(T) (Use generic type constants instead of manually written #215)
  2. make sure the return values has at least a type of Real not Any
xukai92 added a commit that referenced this issue May 4, 2017
xukai92 added a commit that referenced this issue May 4, 2017
@yebai yebai closed this as completed May 4, 2017
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

No branches or pull requests

2 participants