-
Notifications
You must be signed in to change notification settings - Fork 12
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
Pull request/3a13ed96 #6
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ah, sorry! #3 should be ready for review now |
Hello,
A slow learner as I am, realized that most of my challenges are due to
git and its behavior. Therefore I propose you skip my contribution at
this stage. There are several inconsistencies in them which are there
because I used them to pinpoint the errors. I will clean up this and
learn how to use git properly... Sorry for the mess.
What breaks the testing routines is the behaviour of constants in
Float32 or Float64. Therefore in the testing algorithms snippets from
test/alspgrad.jl should be like this:
for T in (Float64, Float32)
Wg = max.(rand(T, p, k) .- T(0.3), 0)
Hg = max.(rand(T, k, n) .- T(0.3), 0)
....
end
For compatibility of julia 0.5 and julia 0.6 for the inner constructors
I do not know how to proceed.
Regards Johan
…On 13.04.2017 20:45, Alex Williams wrote:
Thanks for the effort on cleaning this up. Before reviewing, I'd like
to merge #3
<#3>, which
should also address many of these problems - @rdeits
<https://github.com/rdeits> is there a timeframe for when that will be
ready?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKJGU2_0wBvCjGias7BjlkR3VtapouN7ks5rvl8pgaJpZM4M8hAd>.
|
Getting inner constructors working properly in v0.5 and v0.6 requires a slightly different syntax. Check out: https://discourse.julialang.org/t/how-to-make-new-inner-constructor-syntax-compatible-with-0-5/2094 and JuliaLang/Compat.jl#332 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose: get rid of warnings, make the tests pass and make the code run on julia v0.5 and v0.6. I am not fluent in Julia yet so to be sure, pleas look at the code.