mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
Improve assert readability
This commit is contained in:
parent
0ff21cc962
commit
ffa5bf89c3
@ -265,7 +265,7 @@ class dataFileBase {
|
|||||||
if (DebugMode.Enabled) {
|
if (DebugMode.Enabled) {
|
||||||
const restflag=ex.type.Value & ex2.type.Value
|
const restflag=ex.type.Value & ex2.type.Value
|
||||||
const result=restflag==ex.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
|
ex.type = ex2.type
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user