Skip to content

Commit

Permalink
Bug fix: PDEOperatorCartesianProd (#1925)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry-Jzy authored Jan 3, 2025
1 parent b313d96 commit a3c677c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepxde/data/pde_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def forward_call(trunk_input):

losses_bc = zip(*losses_bc)
losses_bc = [bkd.reduce_mean(bkd.stack(loss, 0)) for loss in losses_bc]
losses.append(losses_bc)
losses.extend(losses_bc)
return losses

def losses_train(self, targets, outputs, loss_fn, inputs, model, aux=None):
Expand Down

0 comments on commit a3c677c

Please sign in to comment.