Skip to content

Commit

Permalink
update code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry-Jzy committed Dec 30, 2024
1 parent af99377 commit bf69954
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion deepxde/data/pde_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def forward_call(trunk_input):
output = aux[0]((inputs[0], trunk_input))
if not is_multi_outputs:
return output.reshape(shape0 * shape1, 1)
elif is_multi_outputs:
else:
return output.reshape(shape0 * shape1, shape2)

if not is_multi_outputs:
Expand Down
1 change: 0 additions & 1 deletion deepxde/gradients/jacobian.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from .. import config
from ..backend import backend_name
from .. import backend as bkd

class Jacobian(ABC):
"""Compute `Jacobian matrix <https://en.wikipedia.org/wiki/Jacobian_matrix_and_determinant>`_
Expand Down

0 comments on commit bf69954

Please sign in to comment.