From 4a8df54accb75d13d0ad1bb33303527b03f54d8c Mon Sep 17 00:00:00 2001 From: Michael Krisper <michael.krisper@tugraz.at> Date: Wed, 21 Jun 2017 14:59:10 +0200 Subject: [PATCH] ATGearbox: use correct gear variable --- .../VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs index ff8fc30a41..5a7b6c9978 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/ATGearbox.cs @@ -153,7 +153,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl var inAngularVelocity = outAngularVelocity * effectiveRatio; var torqueLossResult = torqueConverterLocked ? ModelData.Gears[gear].LossMap.GetTorqueLoss(outAngularVelocity, outTorque) - : ModelData.Gears[Gear].TorqueConverterGearLossMap.GetTorqueLoss(outAngularVelocity, outTorque); + : ModelData.Gears[gear].TorqueConverterGearLossMap.GetTorqueLoss(outAngularVelocity, outTorque); var inTorque = outTorque / effectiveRatio + torqueLossResult.Value; -- GitLab