Skip to content

Commit

Permalink
fixing warning refs #12
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed May 5, 2024
1 parent 170f287 commit 9cd5236
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/microsim/cfmodels/MSCFModel_CC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ MSCFModel_CC::getSecureGap(const MSVehicle* const veh, const MSVehicle* const pr
return (vars->flatbedD - vars->flatbedH * (speed - leaderSpeed)) * tolerance;
case Plexe::DRIVER:
return myHumanDriver->getSecureGap(veh, pred, speed, leaderSpeed, leaderMaxDecel);
default:
throw InvalidArgument("Unsupported activeController" + toString(vars->activeController));
}
}

Expand Down

0 comments on commit 9cd5236

Please sign in to comment.