Skip to content

Conversation

@wnoise
Copy link

@wnoise wnoise commented Aug 4, 2021

The current project.toml claims compatibility for julia "1".

The function call "p(x, getdata(A), b, update_matrix; tol, kwargs...)"
as shorthand for "p(x, getdata(A), b, update_matrix; tol=tol, kwargs...)"
only became valid in Julia 1.5. Compare
https://docs.julialang.org/en/v1.4/manual/functions/#Keyword-Arguments-1
with
https://docs.julialang.org/en/v1.5/manual/functions/#Keyword-Arguments
which adds the paragraph starting with "When a bare identifier or dot
expression occurs after a semicolon,"

The current project.toml claims compatibility for julia "1".

The function call "p(x, getdata(A), b, update_matrix; tol, kwargs...)"
as shorthand for  "p(x, getdata(A), b, update_matrix; tol=tol, kwargs...)"
only became valid in Julia 1.5.  Compare
https://docs.julialang.org/en/v1.4/manual/functions/#Keyword-Arguments-1
with
https://docs.julialang.org/en/v1.5/manual/functions/#Keyword-Arguments
which adds the paragraph starting with "When a bare identifier or dot
expression occurs after a semicolon,"
@jonniedie
Copy link
Collaborator

Yep. The goal is to keep compatibility for all v1 (although I only test back to v1.2, so maybe I should change that bound). Unfortunately the diffeq tests take too long to run, so I always run them locally on whatever machine/julia version I happen to be using. That’s how this made it through without a triggering a failure. Good catch. Thanks.

@codecov-commenter
Copy link

Codecov Report

Merging #104 (daeddd5) into master (e3bd6d0) will increase coverage by 0.66%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #104      +/-   ##
==========================================
+ Coverage   74.06%   74.72%   +0.66%     
==========================================
  Files          19       19              
  Lines         586      542      -44     
==========================================
- Hits          434      405      -29     
+ Misses        152      137      -15     
Impacted Files Coverage Δ
src/compat/diffeqbase.jl 0.00% <ø> (ø)
src/componentarray.jl 81.03% <0.00%> (-1.73%) ⬇️
src/array_interface.jl 84.00% <0.00%> (-0.68%) ⬇️
src/compat/reversediff.jl 100.00% <0.00%> (ø)
src/axis.jl 81.96% <0.00%> (+1.11%) ⬆️
src/show.jl 3.92% <0.00%> (+3.92%) ⬆️
src/componentindex.jl 100.00% <0.00%> (+10.71%) ⬆️
src/broadcasting.jl 100.00% <0.00%> (+10.90%) ⬆️
src/similar_convert_copy.jl 84.09% <0.00%> (+11.54%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e3bd6d0...daeddd5. Read the comment docs.

@jonniedie jonniedie merged commit cbfbf82 into SciML:master Aug 4, 2021
jonniedie added a commit that referenced this pull request Aug 4, 2021
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.

3 participants