From 7142a6e985fc7003527a4c294e1f0ac7201d9034 Mon Sep 17 00:00:00 2001 From: Mathis Richter Date: Sat, 1 Oct 2022 03:22:14 +0200 Subject: [PATCH] Fixed errors in docstrings. Signed-off-by: Mathis Richter --- src/lava/lib/dnf/kernels/kernels.py | 2 +- tests/lava/lib/dnf/acceptance/test_connecting_with_ops.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lava/lib/dnf/kernels/kernels.py b/src/lava/lib/dnf/kernels/kernels.py index 5b8fe05..d6dd7d8 100644 --- a/src/lava/lib/dnf/kernels/kernels.py +++ b/src/lava/lib/dnf/kernels/kernels.py @@ -143,7 +143,7 @@ def _validate_shape(shape: ty.Tuple[int, ...], def _compute_shape(self, width: np.ndarray) -> ty.Tuple[int, ...]: """ - Computes the shape of a kernel from the a width-parameter of the + Computes the shape of a kernel from the width-parameter of the kernel and a limit factor. Parameters diff --git a/tests/lava/lib/dnf/acceptance/test_connecting_with_ops.py b/tests/lava/lib/dnf/acceptance/test_connecting_with_ops.py index 81e21b5..a00040c 100644 --- a/tests/lava/lib/dnf/acceptance/test_connecting_with_ops.py +++ b/tests/lava/lib/dnf/acceptance/test_connecting_with_ops.py @@ -22,7 +22,7 @@ class TestConnectingWithOperations(unittest.TestCase): def test_running_reorder(self) -> None: - """Tests executing a architecture with multi-dimensional input that + """Tests executing an architecture with multi-dimensional input that gets reshaped (here, reordered).""" num_steps = 10 shape_src = (5, 3)