From 4b8ee88bd5c9358494275717eba570d2d625ee44 Mon Sep 17 00:00:00 2001
From: Oscar Gustafsson <oscar.gustafsson@gmail.com>
Date: Tue, 28 Mar 2023 16:37:11 +0200
Subject: [PATCH] Fix documentation

---
 b_asic/operation.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/b_asic/operation.py b/b_asic/operation.py
index 1bdec6e9..96f424f6 100644
--- a/b_asic/operation.py
+++ b/b_asic/operation.py
@@ -327,7 +327,7 @@ class Operation(GraphComponent, SignalSourceProvider):
     @abstractmethod
     def quantize_input(self, index: int, value: Num, bits: int) -> Num:
         """
-        Truncate the value to be used as input at the given index to a certain bit
+        Quantize the value to be used as input at the given index to a certain bit
         length.
         """
         raise NotImplementedError
@@ -944,7 +944,7 @@ class AbstractOperation(Operation, AbstractGraphComponent):
         bits_override: Optional[int] = None,
     ) -> Sequence[Num]:
         """
-        Truncate the values to be used as inputs to the bit lengths specified
+        Quantize the values to be used as inputs to the bit lengths specified
         by the respective signals connected to each input.
         """
         args = []
-- 
GitLab