From 084fab59ffc6a79f87c049f9dbeb8d082fc3fc39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Mon, 13 Jan 2020 14:48:26 +0100 Subject: [PATCH] Fix typo Singlet --- content/multipledataset.html | 2 +- static/js/data.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/multipledataset.html b/content/multipledataset.html index 3e318b47..aee5110a 100644 --- a/content/multipledataset.html +++ b/content/multipledataset.html @@ -43,7 +43,7 @@ draft: false case Number(excitationTypes.Double): description = name.toLowerCase() break; - case Number(excitationTypes.Singulet): + case Number(excitationTypes.Singlet): description = name.toLowerCase() break; case Number(excitationTypes.Triplet): diff --git a/static/js/data.js b/static/js/data.js index bb55ddfc..5a1a36cf 100644 --- a/static/js/data.js +++ b/static/js/data.js @@ -5,7 +5,7 @@ class excitationTypes { static get nPis() { return new excitationType(1 << 3, String.raw`n \rightarrow \pi^\star`) } static get Single() { return new excitationType(1 << 4, "S") } static get Double() { return new excitationType(1 << 5, "D") } - static get Singulet() { return new excitationType(1 << 6, "1") } + static get Singlet() { return new excitationType(1 << 6, "1") } static get Triplet() { return new excitationType(1 << 7, "3") } // Max bit shifts is 31 because int are int32 So 1 << 31 are -2147483648 static get Others() { return new excitationType(1 << 31, String.raw`\mathrm{Others}`) } @@ -158,7 +158,7 @@ class excitationBase { } switch (final.multiplicity) { case 1: - this.type.Value=this.type|excitationTypes.Singulet + this.type.Value=this.type|excitationTypes.Singlet break; case 3: this.type.Value=this.type|excitationTypes.Triplet