mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
Add unsafe assertion
This commit is contained in:
parent
66e47a46ee
commit
97f25af23d
@ -339,6 +339,9 @@ class dataFileBase {
|
||||
}
|
||||
});
|
||||
console.assert(double.length===0,"Double found",double,dat.sourceFile)
|
||||
for (const ex of dat.excitations) {
|
||||
console.assert(Number.isNaN(ex.T1.valueOf()) | ex.T1>50 | ex.isUnsafe==true,"Must be unsafe",dat,ex)
|
||||
}
|
||||
return dat
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user