10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-07-22 18:57:38 +02:00

Fix GetTypeFromAcronym bug that set \pi \rightarrow 3p for spi, non-d and unrecognized acronyms

This commit is contained in:
Mickaël Véril 2020-11-04 13:09:30 +01:00
parent d10b6d3b05
commit 71c7b90df7

View File

@ -15,7 +15,7 @@ def GetTypeFromAcronym(acronym):
return r"n \rightarrow 3s"
elif acronym=="dou":
return "double"
elif "p3p":
elif acronym=="p3p":
return r"\pi \rightarrow 3p"
elif acronym=="spi":
return r"\sigma \rightarrow \pi^\star"