Skip to content

Commit 4584737

Browse files
authored
Rename ArrayAD -> ArrayDiff (#6)
* Rename ArrayAD -> ArrayDiff * Fix format
1 parent 1cd085f commit 4584737

File tree

6 files changed

+101
-91
lines changed

6 files changed

+101
-91
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name = "ArrayAD"
1+
name = "ArrayDiff"
22
uuid = "c45fa1ca-6901-44ac-ae5b-5513a4852d50"
33
authors = ["Benoît Legat <benoit.legat@gmail.com>"]
44
version = "0.1.0"

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ArrayAD
1+
# ArrayDiff
22

33
| **Build Status** |
44
|:----------------:|
@@ -9,7 +9,7 @@ Experimental addition of array support to `MOI.Nonlinear.ReverseAD`
99
> [!WARNING]
1010
> This code is still very much experimental
1111
12-
[build-img]: https://github.com/blegat/ArrayAD.jl/actions/workflows/ci.yml/badge.svg?branch=main
13-
[build-url]: https://github.com/blegat/ArrayAD.jl/actions?query=workflow%3ACI
14-
[codecov-img]: https://codecov.io/gh/blegat/ArrayAD.jl/branch/main/graph/badge.svg
15-
[codecov-url]: https://codecov.io/gh/blegat/ArrayAD.jl/branch/main
12+
[build-img]: https://github.com/blegat/ArrayDiff.jl/actions/workflows/ci.yml/badge.svg?branch=main
13+
[build-url]: https://github.com/blegat/ArrayDiff.jl/actions?query=workflow%3ACI
14+
[codecov-img]: https://codecov.io/gh/blegat/ArrayDiff.jl/branch/main/graph/badge.svg
15+
[codecov-url]: https://codecov.io/gh/blegat/ArrayDiff.jl/branch/main

src/ArrayAD.jl renamed to src/ArrayDiff.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Use of this source code is governed by an MIT-style license that can be found
55
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
66

7-
module ArrayAD
7+
module ArrayDiff
88

99
import ForwardDiff
1010
import MathOptInterface as MOI

src/utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ julia> x = [(1, 2, 3), (4, 5, 6), (7, 8, 9)]
188188
(4, 5, 6)
189189
(7, 8, 9)
190190
191-
julia> MOI.Nonlinear.ArrayAD._reinterpret_unsafe(NTuple{2,Int}, x)
192-
4-element MathOptInterface.Nonlinear.ArrayAD._UnsafeVectorView{Tuple{Int64, Int64}}:
191+
julia> MOI.Nonlinear.ArrayDiff._reinterpret_unsafe(NTuple{2,Int}, x)
192+
4-element MathOptInterface.Nonlinear.ArrayDiff._UnsafeVectorView{Tuple{Int64, Int64}}:
193193
(1, 2)
194194
(3, 4)
195195
(5, 6)

test/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[deps]
2-
ArrayAD = "c45fa1ca-6901-44ac-ae5b-5513a4852d50"
2+
ArrayDiff = "c45fa1ca-6901-44ac-ae5b-5513a4852d50"
33
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
44
MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee"
55
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

0 commit comments

Comments
 (0)