Skip to content

Fix error of @non_differentiable on Julia 1.5.0 and 1.5.1 (#328)#329

Merged
devmotion merged 2 commits intoJuliaDiff:masterfrom
devmotion:dw/fix_julia15
Apr 3, 2021
Merged

Fix error of @non_differentiable on Julia 1.5.0 and 1.5.1 (#328)#329
devmotion merged 2 commits intoJuliaDiff:masterfrom
devmotion:dw/fix_julia15

Conversation

@devmotion
Copy link
Member

Fixes #328.

The underlying problem is JuliaLang/julia#37134 which exists on Julia 1.5.0 and 1.5.1, and was fixed in Julia 1.5.2 (JuliaLang/julia#37181).

I did not add any tests since the error is reproducible only with these Julia versions which currently are not tested on Github.

@codecov-io
Copy link

codecov-io commented Apr 3, 2021

Codecov Report

Merging #329 (9443848) into master (afa8a2d) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #329   +/-   ##
=======================================
  Coverage   89.83%   89.83%           
=======================================
  Files          13       13           
  Lines         472      472           
=======================================
  Hits          424      424           
  Misses         48       48           
Impacted Files Coverage Δ
src/rule_definition_tools.jl 96.12% <100.00%> (ø)

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 afa8a2d...9443848. Read the comment docs.

@simeonschaub
Copy link
Member

Ah, sorry, didn't know you were working on a fix. I don't think we really need to support these versions, but since this is an easy fix, we might as well do this.

@devmotion devmotion merged commit 32893d7 into JuliaDiff:master Apr 3, 2021
@devmotion devmotion deleted the dw/fix_julia15 branch April 3, 2021 09:31
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.

Malformed expression on @non_differentiable with splatting operator

3 participants