Skip to content

Commit 80e9ce2

Browse files
Merge pull request #645 from SciML/arrayinterface
update to ArrayInterface v7
2 parents c20a6b6 + 94384bc commit 80e9ce2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version = "5.3.0"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
8-
ArrayInterfaceCore = "30b0a656-2188-435a-8636-2ec0e6a096e2"
8+
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
99
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
1010
ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
1111
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
@@ -38,7 +38,7 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
3838

3939
[compat]
4040
Adapt = "3"
41-
ArrayInterfaceCore = "0.1.13"
41+
ArrayInterface = "7"
4242
CUDA = "3.0"
4343
ChainRulesCore = "1"
4444
ComponentArrays = "0.13.2"

src/NeuralPDE.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ using QuasiMonteCarlo
1616
using RuntimeGeneratedFunctions
1717
using SciMLBase
1818
using Statistics
19-
using ArrayInterfaceCore
19+
using ArrayInterface
2020
import Optim
2121
using DomainSets
2222
using Symbolics

src/discretize.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function build_symbolic_loss_function(pinnrep::PINNRepresentation, eqs;
127127
params_symbols = Symbol[]
128128
expr_params = Expr[]
129129
for (i, eq_param) in enumerate(eq_params)
130-
push!(expr_params, :(ArrayInterfaceCore.allowed_getindex(p, ($i):($i))))
130+
push!(expr_params, :(ArrayInterface.allowed_getindex(p, ($i):($i))))
131131
push!(params_symbols, Symbol(:($eq_param)))
132132
end
133133
params_eq = Expr(:(=), build_expr(:tuple, params_symbols),

0 commit comments

Comments
 (0)