Skip to content

Commit 81b7eba

Browse files
format
1 parent 1ffa8cc commit 81b7eba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/training_strategies.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ function merge_strategy_with_loss_function(pinnrep::PINNRepresentation,
2929

3030
# the points in the domain and on the boundary
3131
pde_train_sets, bcs_train_sets = train_sets
32-
pde_train_sets = adapt.(parameterless_type(ComponentArrays.getdata(flat_init_params)), pde_train_sets)
33-
bcs_train_sets = adapt.(parameterless_type(ComponentArrays.getdata(flat_init_params)), bcs_train_sets)
32+
pde_train_sets = adapt.(parameterless_type(ComponentArrays.getdata(flat_init_params)),
33+
pde_train_sets)
34+
bcs_train_sets = adapt.(parameterless_type(ComponentArrays.getdata(flat_init_params)),
35+
bcs_train_sets)
3436
pde_loss_functions = [get_loss_function(_loss, _set, eltypeθ, strategy)
3537
for (_loss, _set) in zip(datafree_pde_loss_function,
3638
pde_train_sets)]

0 commit comments

Comments
 (0)