Skip to content

Commit 1740b79

Browse files
committed
more fixes
1 parent 33d53fb commit 1740b79

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/sage/combinat/crystals/generalized_young_walls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def generate_signature(self, i):
285285
strsig = ''.join( x[0] for x in sig)
286286
reducedsig = strsig
287287
while re.search(r"\+\s*-",reducedsig):
288-
reducedsig = re.sub(r"\+\s*-", lambda match : str().ljust(len(match.group(int(0)))) , reducedsig)
288+
reducedsig = re.sub(r"\+\s*-", lambda match : ''.ljust(len(match.group(0))) , reducedsig)
289289
return (sig,reducedsig)
290290

291291
def signature(self, i):

src/sage/combinat/parallelogram_polyomino.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3958,7 +3958,7 @@ def _latex_drawing(self):
39583958
...
39593959
\end{tikzpicture}
39603960
"""
3961-
latex.add_package_to_preamble_if_available(str("tikz"))
3961+
latex.add_package_to_preamble_if_available("tikz")
39623962
tikz_options = self.get_tikz_options()
39633963
res = "\n\\begin{tikzpicture}[scale=%s]" % (tikz_options['scale'])
39643964
res += self.to_tikz()

src/sage/combinat/root_system/weyl_characters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ def _demazure_weights(self, hwv, word="long", debug=False):
691691
dd = {}
692692
h = tuple(int(hwv.inner_product(alphacheck[j]))
693693
for j in self._space.index_set())
694-
dd[h] = int(1)
694+
dd[h] = 1
695695
return self._demazure_helper(dd, word=word, debug=debug)
696696

697697
def _demazure_helper(self, dd, word="long", debug=False):

0 commit comments

Comments
 (0)