Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 4bcdeffb authored by Michael KRISPER's avatar Michael KRISPER
Browse files

removed condition which is always true

parent 09f24910
No related branches found
No related tags found
No related merge requests found
......@@ -372,12 +372,9 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
inTorque = 0.SI<NewtonMeter>();
}
if (!dryRun) {
CurrentState.SetState(inTorque, inAngularVelocity, outTorque,
outAngularVelocity);
CurrentState.SetState(inTorque, inAngularVelocity, outTorque, outAngularVelocity);
CurrentState.Gear = gear;
CurrentState.TransmissionTorqueLoss = inTorque * ModelData.Gears[gear.Gear].Ratio - outTorque;
}
var response = NextComponent.Request(absTime, dt, inTorque, inAngularVelocity, false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment