10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-26 06:14:38 +01:00

Fix parsing problem for single

This commit is contained in:
Mickaël Véril 2020-01-14 14:20:43 +01:00
parent 88acab0c32
commit 10a6482502

View File

@ -141,7 +141,7 @@ class excitationBase {
if (initialts.length == 2 && finalts.length == 2) { if (initialts.length == 2 && finalts.length == 2) {
this.type.Value = this.type | excitationTypes.Double this.type.Value = this.type | excitationTypes.Double
} }
else if (initialts.length == 1 && finalt.length == 1) { else if (initialts.length == 1 && finalts.length == 1) {
this.type.Value = this.type | excitationTypes.Single this.type.Value = this.type | excitationTypes.Single
} }
if (initialts.includes("n") && finalts.includes(String.raw`\pi^\star`)) { if (initialts.includes("n") && finalts.includes(String.raw`\pi^\star`)) {