Skip to content

Commit

Permalink
Merge branch 'j433866-fork-fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
n1474335 committed Mar 9, 2019
2 parents 6827826 + d923c99 commit 360effb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/operations/Fork.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class Fork extends Operation {
// Run recipe over each tranche
for (i = 0; i < inputs.length; i++) {
// Baseline ing values for each tranche so that registers are reset
subOpList.forEach((op, i) => {
recipe.opList.forEach((op, i) => {
op.ingValues = JSON.parse(JSON.stringify(ingValues[i]));
});

Expand Down
2 changes: 1 addition & 1 deletion src/core/operations/Subsection.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class Subsection extends Operation {
}

// Baseline ing values for each tranche so that registers are reset
subOpList.forEach((op, i) => {
recipe.opList.forEach((op, i) => {
op.ingValues = JSON.parse(JSON.stringify(ingValues[i]));
});

Expand Down

0 comments on commit 360effb

Please sign in to comment.