Update extensions/ql-vscode/src/log-insights/join-order.ts

Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
This commit is contained in:
Dave Bartolomeo
2022-08-12 14:50:10 -04:00
committed by GitHub
parent 49d12674b7
commit 85988ecf34

View File

@@ -74,7 +74,7 @@ function getMainHash(event: InLayer | ComputeRecursive): string {
}
/**
* Sum arrays a and b element-wise, and pad with 0s if the arrays are not the same length.
* Sum arrays a and b element-wise. The shorter array is padded with 0s if the arrays are not the same length.
*/
function pointwiseSum(a: Int32Array, b: Int32Array): Int32Array {
function reportIfInconsistent(ai: number, bi: number) {