Skip to content

Commit

Permalink
Merge pull request #67 from devmotion/dw/remove_transpose_adjoint_conj
Browse files Browse the repository at this point in the history
Remove rules for `conj`, `adjoint`, and `transpose`
  • Loading branch information
devmotion authored Sep 18, 2021
2 parents d79d2d9 + 8dca5df commit 6a001d2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
os: [ubuntu-latest]
package:
- {user: JuliaDiff, repo: ForwardDiff.jl, group: All}
- {user: JuliaDiff, repo: ReverseDiff.jl, group: All}
- {user: FluxML, repo: Tracker.jl, group: All}
- {user: FluxML, repo: Zygote.jl, group: All}
- {user: invenia, repo: Nabla.jl, group: All}
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "DiffRules"
uuid = "b552c78f-8df3-52c6-915a-8e097449b14b"
version = "1.3.0"
version = "1.3.1"

[deps]
NaNMath = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
Expand Down
3 changes: 0 additions & 3 deletions src/rules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@
@define_diffrule SpecialFunctions.loggamma(x) =
:( SpecialFunctions.digamma($x) )

@define_diffrule Base.conj(x) = :( 1 )
@define_diffrule Base.adjoint(x) = :( 1 )
@define_diffrule Base.transpose(x) = :( 1 )
@define_diffrule Base.abs(x) = :( DiffRules._abs_deriv($x) )

# We provide this hook for special number types like `Interval`
Expand Down

4 comments on commit 6a001d2

@devmotion
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Error while trying to register: Register Failed
@devmotion, it looks like you are not a publicly listed member/owner in the parent organization (JuliaDiff).
If you are a member/owner, you will need to change your membership to public. See GitHub Help

@devmotion
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/45150

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.3.1 -m "<description of version>" 6a001d26c0ada6cac892e7e8a959bab61a732140
git push origin v1.3.1

Please sign in to comment.