Fix regression in GPN heuristic

This commit is contained in:
Zaid Abdulla committed 2019-09-12 11:16:42 -07:00
1 parent 1c9aa493c6
commit f57bcae70c
2 files changed
+10 -5

No files matched your search

+1 -1
View File
@@ -1525,7 +1525,7 @@ function generateGetRpcRequest(sessionContext: SessionContext): GetAcsRequest {
let nextLevel;
let est = 0;
if (path.length >= GPN_NEXT_LEVEL) {
const patterns = [[path, 0]];
const patterns: [Path, number][] = [[path, 0]];
for (const p of sessionContext.deviceData.paths.find(
path,
true,