Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Remove unnecessary comment in `simple_functions.py` (#2472)

Darylgoldenc061ee21f954
diff --git a/manim/utils/simple_functions.py b/manim/utils/simple_functions.py
index ed37b0b74..e5f05d2a7 100644
--- a/manim/utils/simple_functions.py
+++ b/manim/utils/simple_functions.py
@@ -30,13 +30,6 @@ def get_parameters(function):
return inspect.signature(function).parameters
-# Just to have a less heavyweight name for this extremely common operation
-#
-# We may wish to have more fine-grained control over division by zero behavior
-# in the future (separate specifiable values for 0/0 and x/0 with x != 0),
-# but for now, we just allow the option to handle indeterminate 0/0.
-
-
def clip(a, min_a, max_a):
if a < min_a:
return min_a