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

put only values in static parameter environments #15295

Merged
merged 1 commit into from
Mar 1, 2016
Merged

Conversation

JeffBezanson
Copy link
Member

Another small PR in the inching-towards-sanity department. This deleted even more code than I expected.

push!(sp, sparams[i].name)
push!(sp, sparams[i+1])
end
for i = 1:length(linfo.sparam_syms)
Copy link
Member

Choose a reason for hiding this comment

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

sparams could also be svec(), so you need this third case too

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed (I think)

@vtjnash
Copy link
Member

vtjnash commented Mar 1, 2016

+1 i was hoping to see this cleanup

…r environments

this is significantly simpler
JeffBezanson added a commit that referenced this pull request Mar 1, 2016
put only values in static parameter environments
@JeffBezanson JeffBezanson merged commit dceac08 into master Mar 1, 2016
@yuyichao yuyichao deleted the jb/spenv branch March 1, 2016 16:29
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