Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Explicit tulle required in comprehension in Python 3

cclausscbe641e93ce0
diff --git a/active_projects/eola2/determinant_puzzle.py b/active_projects/eola2/determinant_puzzle.py
index 6f3354638..aeda8480e 100644
--- a/active_projects/eola2/determinant_puzzle.py
+++ b/active_projects/eola2/determinant_puzzle.py
@@ -98,7 +98,7 @@ class WorkOutNumerically(Scene):
non_numbers = VGroup(*[m for m in det if m not in numbers])
matrix_numbers = VGroup(*[
matrix.mob_matrix[i][j].copy()
- for i, j in (0, 0), (1, 1), (0, 1), (1, 0)
+ for i, j in ((0, 0), (1, 1), (0, 1), (1, 0))
])
self.play(
LaggedStart(FadeIn, non_numbers, run_time=1),