Skip to content

Commit

Permalink
ZCS: Add aux to _losses() due to base class upgrade (#1943)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuangdai authored Feb 23, 2025
1 parent 18400e5 commit 179c1b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepxde/zcs/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class PDEOperatorCartesianProd(BasePDEOperatorCartesianProd):
"""Derived `PDEOperatorCartesianProd` class for ZCS support."""

def _losses(self, outputs, loss_fn, inputs, model, num_func):
def _losses(self, outputs, loss_fn, inputs, model, num_func, aux):
# PDE
f = []
if self.pde.pde is not None:
Expand Down

0 comments on commit 179c1b9

Please sign in to comment.