Skip to content

Commit d1d3fbc

Browse files
Update benchmarks/linear-elastic-plate-with-hole/FEniCS/plateWithHoleSolution.py
update type hints Co-authored-by: Sjard Mathis Rosenbusch <69848361+srosenbu@users.noreply.github.com>
1 parent 054eb5a commit d1d3fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/linear-elastic-plate-with-hole/FEniCS/plateWithHoleSolution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def polar(self, x: np.ndarray) -> np.ndarray:
1313
theta = np.atan2(x[1], x[0])
1414
return r, theta
1515

16-
def displacement(self, x):
16+
def displacement(self, x: np.ndarray) -> np.ndarray:
1717
r, theta = self.polar(x)
1818
a = self.radius
1919

0 commit comments

Comments
 (0)