From 2a85b16347be20b5d2dc0a6e13d1e79bb32b6c25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Tue, 21 Jun 2022 09:22:47 +0300 Subject: [PATCH] sympy fix deprecated cyclic printing init --- qpms/symmetries.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qpms/symmetries.py b/qpms/symmetries.py index bf149e0..47a7408 100644 --- a/qpms/symmetries.py +++ b/qpms/symmetries.py @@ -1,5 +1,6 @@ +import sympy from sympy.combinatorics import Permutation, PermutationGroup -Permutation.print_cyclic = True +sympy.init_printing(perm_cyclic = True) import cmath from cmath import exp, pi from math import sqrt