Skip to content

Commit

Permalink
Fix bug in calculateProcessStepGasTurbine exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
HildoBijl committed Mar 6, 2024
1 parent 8b22ba9 commit c50ba09
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function checkInput(exerciseData, step) {
case 2:
return performComparison(exerciseData, 'process')
case 3:
return performComparison(exerciseData, exerciseData.input.choice === 1 ? 'T2' : 'p2')
return performComparison(exerciseData, exerciseData.input.choice === 1 ? 'T2' : 'V2')
case 4:
return performComparison(exerciseData, ['p2', 'V2', 'T2'])
default:
Expand Down

0 comments on commit c50ba09

Please sign in to comment.