From df913a389eb7257e20f2ad567bad72a4d6121d4e Mon Sep 17 00:00:00 2001 From: Rick Leir Date: Sun, 19 Apr 2020 04:32:46 -0400 Subject: [PATCH] Function 'recurse' defined at line 8 takes 2 arguments, but it was called with 3 arguments at this point. --- src/util/setGenotype.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/setGenotype.js b/src/util/setGenotype.js index 5917ed74a..fc0e186e5 100644 --- a/src/util/setGenotype.js +++ b/src/util/setGenotype.js @@ -37,7 +37,7 @@ export const setGenotype = (nodes, prot, positions) => { } } }; - recurse(nodes[0], positions.map(() => undefined), positions); + recurse(nodes[0], positions.map(() => undefined)); for (let j = 0; j < nPositions; j++) { for (const node of ancNodes[j]) { node.currentGt[j] = ancState[j];