From 930c4d463f05e7fd6714f299e7167fd919a76b0c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 21 Nov 2024 09:08:38 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- compression/ppm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compression/ppm.py b/compression/ppm.py index 0a1ea50f9..1f8d94004 100644 --- a/compression/ppm.py +++ b/compression/ppm.py @@ -44,7 +44,7 @@ class PPM: self.update_model(context, symbol) # Encode the symbol based on the current context compressed_output.append(self.encode_symbol(context, symbol)) - # Update the context by appending the symbol, + # Update the context by appending the symbol, # keeping it within the specified order context = (context + symbol)[-self.order :] # Keep the context within order