Skip to content

Commit 4bac5eb

Browse files
committed
Bug fix: NeumannBC and RobinBC
1 parent fab492b commit 4bac5eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deepxde/icbc/boundary_conditions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def collocation_points(self, X):
5151

5252
def normal_derivative(self, X, inputs, outputs, beg, end):
5353
dydx = grad.jacobian(outputs, inputs, i=self.component, j=None)[beg:end]
54-
n = self.boundary_normal(X, beg, end)
54+
n = self.boundary_normal(X, beg, end, None)
5555
return bkd.sum(dydx * n, 1, keepdims=True)
5656

5757
@abstractmethod

0 commit comments

Comments
 (0)