10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-26 06:14:38 +01: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" return r"n \rightarrow 3s"
elif acronym=="dou": elif acronym=="dou":
return "double" return "double"
elif "p3p": elif acronym=="p3p":
return r"\pi \rightarrow 3p" return r"\pi \rightarrow 3p"
elif acronym=="spi": elif acronym=="spi":
return r"\sigma \rightarrow \pi^\star" return r"\sigma \rightarrow \pi^\star"