10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-07-03 09:56:08 +02:00

Improve assert readability

This commit is contained in:
Mickaël Véril 2020-10-13 09:50:39 +02:00
parent 0ff21cc962
commit ffa5bf89c3

View File

@ -265,7 +265,7 @@ class dataFileBase {
if (DebugMode.Enabled) {
const restflag=ex.type.Value & ex2.type.Value
const result=restflag==ex.type.Value
console.assert(result, "Excitation type error", [ex, ex2, this.sourceFile])
console.assert(result, "Excitation type error", data.molecule, ex, ex2, this.sourceFile)
}
ex.type = ex2.type
}