Skip to content

Commit 07202c6

Browse files
authored
Fix test (#27)
1 parent 1c68e8c commit 07202c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/test-couplednode.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ sum_attention = [false, false]
6262
# Read conf
6363
NS = Base.get_extension(CoupledNODE, :NavierStokes)
6464
conf = NS.read_config("./config.yaml")
65-
conf["params"]["backend"] = KernelAbstractions.CPU()
65+
conf["params"]["backend"] = IncompressibleNavierStokes.CPU()
6666

6767
# get params
6868
params = NS.load_params(conf)

test/test-couplednode_loader.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using OrdinaryDiffEqTsit5
1818
@testset "CoupledNode loader (CPU)" begin
1919
NS = Base.get_extension(CoupledNODE, :NavierStokes)
2020
conf = NS.read_config("./config.yaml")
21-
conf["params"]["backend"] = CPU()
21+
conf["params"]["backend"] = IncompressibleNavierStokes.CPU()
2222

2323
closure, θ_start, st = NS.load_model(conf)
2424
device = x -> adapt(Array, x)

0 commit comments

Comments
 (0)