mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-04 13:13:55 +01:00
Fix doublon assertion
This commit is contained in:
parent
52f536a654
commit
76d4582c83
@ -333,7 +333,7 @@ class dataFileBase {
|
|||||||
// Find if there is a duplicate or not
|
// Find if there is a duplicate or not
|
||||||
if (stfy.indexOf(element, i + 1) >= 0) {
|
if (stfy.indexOf(element, i + 1) >= 0) {
|
||||||
// Find if the element is already in the result array or not
|
// Find if the element is already in the result array or not
|
||||||
if (result.indexOf(element) === -1) {
|
if (double.indexOf(element) === -1) {
|
||||||
double.push(dat.excitations[i])
|
double.push(dat.excitations[i])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user