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

Add value type parameters #130

Merged
merged 3 commits into from
Apr 23, 2020
Merged

Add value type parameters #130

merged 3 commits into from
Apr 23, 2020

Conversation

mforets
Copy link
Member

@mforets mforets commented Apr 23, 2020

Breaking changes:

  • we now set recursive=true for ASB07
  • static=true is (temporarily) disabled for GLGM06

In general the purpose of this PR is bringing type parameters for those options that define the behavior of the program, ie. for cases where we want to do dispatch on such parameters. So from the user API we still instantiate with values, like ASB07(recursive=true), but internally this is compiled to an ASB07 instance with the alg.recursive == Val{true} value type, so for intermediate computations we can dispatch on that option without losing inference.

@mforets mforets merged commit bcc63db into master Apr 23, 2020
@mforets mforets deleted the mforets/inference branch April 23, 2020 16:33
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