10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 05:43:46 +01:00

Fix bug in data

This commit is contained in:
Mickaël Véril 2020-02-01 17:50:45 +01:00
parent 8d47040564
commit 873d88763f

View File

@ -279,9 +279,9 @@ class dataFileBase {
type = m[1] type = m[1]
} }
} }
var val = ((vals.length >= 7 + hasType) ? new stringFloat(vals[6 + hasType], 10) : NaN) var val = ((vals.length >= 7 + hasType) ? new stringFloat(vals[6 + hasType]) : NaN)
var oscilatorForces = ((vals.length >= 8 + hasType) ? new stringFloat(vals[7 + hasType], 10) : NaN) var oscilatorForces = ((vals.length >= 8 + hasType) ? new stringFloat(vals[7 + hasType]) : NaN)
var T1 = ((vals.length >= 9 + hasType) ? new stringFloat(vals[8 + hasType], 10) : NaN) var T1 = ((vals.length >= 9 + hasType) ? new stringFloat(vals[8 + hasType]) : NaN)
var isUnsafe = ((vals.length >= 10 + hasType) ? vals[9 + hasType] === true.toString() : false) var isUnsafe = ((vals.length >= 10 + hasType) ? vals[9 + hasType] === true.toString() : false)
var ex = new excitationValue(start, end, type, val, oscilatorForces, T1, isUnsafe); var ex = new excitationValue(start, end, type, val, oscilatorForces, T1, isUnsafe);
if (this.VertExcitationKind) { if (this.VertExcitationKind) {