10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-11-04 05:03:53 +01:00

Fix syntax error

This commit is contained in:
Mickaël Véril 2020-10-28 10:35:32 +01:00
parent 315d6672d7
commit 4c2c916b50

View File

@ -202,7 +202,7 @@ class excitationBase {
if (this.type.Value == 0) { if (this.type.Value == 0) {
this.type.Value = excitationTypes.Others.Value; this.type.Value = excitationTypes.Others.Value;
} }
else (!(this.type & (excitationTypes.Single.Value | excitationTypes.Double.Value))){ else if (!(this.type & (excitationTypes.Single.Value | excitationTypes.Double.Value))){
this.type.Value = excitationTypes.Single this.type.Value = excitationTypes.Single
} }
this.T1 = T1 this.T1 = T1