From b6ec2d3061baa35b4b16e256fc8f29c78d803cbb Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Sun, 13 Nov 2022 23:15:00 +0100 Subject: [PATCH] Removed unnecessary import --- sw/decoders/maximum_likelihood.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sw/decoders/maximum_likelihood.py b/sw/decoders/maximum_likelihood.py index f78e7d2..1871069 100644 --- a/sw/decoders/maximum_likelihood.py +++ b/sw/decoders/maximum_likelihood.py @@ -1,4 +1,3 @@ -import numpy import numpy as np import itertools @@ -48,4 +47,4 @@ class MLDecoder: """ correlations = np.dot(self._codewords_bpsk, y) - return self._codewords[numpy.argmax(correlations)] + return self._codewords[np.argmax(correlations)]