aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdpoly/abc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdpoly/abc.py b/mdpoly/abc.py
index c60311a..56507d6 100644
--- a/mdpoly/abc.py
+++ b/mdpoly/abc.py
@@ -76,7 +76,8 @@ class Repr(Protocol):
""" Return indices to non-zero terms in the polynomial at the given
matrix entry """
- def zero_smaller_than(self, eps: Number = NUMERICS_EPS) -> None:
+ def zero_out_small(self, eps: Number = NUMERICS_EPS) -> None:
+ """ Zero out (set to zero) values that are smaller than EPS """
for entry in self.entries():
for term in self.terms(entry):
if self.at(entry, term) < eps: