Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = "ArrayAD"
name = "ArrayDiff"
uuid = "c45fa1ca-6901-44ac-ae5b-5513a4852d50"
authors = ["Benoît Legat <benoit.legat@gmail.com>"]
version = "0.1.0"
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ArrayAD
# ArrayDiff

| **Build Status** |
|:----------------:|
Expand All @@ -9,7 +9,7 @@ Experimental addition of array support to `MOI.Nonlinear.ReverseAD`
> [!WARNING]
> This code is still very much experimental

[build-img]: https://github.com/blegat/ArrayAD.jl/actions/workflows/ci.yml/badge.svg?branch=main
[build-url]: https://github.com/blegat/ArrayAD.jl/actions?query=workflow%3ACI
[codecov-img]: https://codecov.io/gh/blegat/ArrayAD.jl/branch/main/graph/badge.svg
[codecov-url]: https://codecov.io/gh/blegat/ArrayAD.jl/branch/main
[build-img]: https://github.com/blegat/ArrayDiff.jl/actions/workflows/ci.yml/badge.svg?branch=main
[build-url]: https://github.com/blegat/ArrayDiff.jl/actions?query=workflow%3ACI
[codecov-img]: https://codecov.io/gh/blegat/ArrayDiff.jl/branch/main/graph/badge.svg
[codecov-url]: https://codecov.io/gh/blegat/ArrayDiff.jl/branch/main
2 changes: 1 addition & 1 deletion src/ArrayAD.jl → src/ArrayDiff.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Use of this source code is governed by an MIT-style license that can be found
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.

module ArrayAD
module ArrayDiff

import ForwardDiff
import MathOptInterface as MOI
Expand Down
4 changes: 2 additions & 2 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ julia> x = [(1, 2, 3), (4, 5, 6), (7, 8, 9)]
(4, 5, 6)
(7, 8, 9)

julia> MOI.Nonlinear.ArrayAD._reinterpret_unsafe(NTuple{2,Int}, x)
4-element MathOptInterface.Nonlinear.ArrayAD._UnsafeVectorView{Tuple{Int64, Int64}}:
julia> MOI.Nonlinear.ArrayDiff._reinterpret_unsafe(NTuple{2,Int}, x)
4-element MathOptInterface.Nonlinear.ArrayDiff._UnsafeVectorView{Tuple{Int64, Int64}}:
(1, 2)
(3, 4)
(5, 6)
Expand Down
2 changes: 1 addition & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[deps]
ArrayAD = "c45fa1ca-6901-44ac-ae5b-5513a4852d50"
ArrayDiff = "c45fa1ca-6901-44ac-ae5b-5513a4852d50"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Expand Down
Loading
Loading