Skip to content

Commit

Permalink
[FIX] Remove unused vector.assign in ValeursDeNTCRef
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Jul 31, 2023
1 parent 1eb5d9b commit 9e6c0c3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/solver/simulation/sim_alloc_probleme_hebdo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,6 @@ void SIM_AllocationProblemeHebdo(PROBLEME_HEBDO& problem, unsigned NombreDePasDe
problem.ValeursDeNTCRef[k].ValeurDeNTCOrigineVersExtremite.assign(linkCount, 0.);
problem.ValeursDeNTCRef[k].ValeurDeNTCExtremiteVersOrigine.assign(linkCount, 0.);
problem.ValeursDeNTCRef[k].ValeurDeLoopFlowOrigineVersExtremite.assign(linkCount, 0.);
problem.ValeursDeNTCRef[k].ValeurDuFlux.assign(linkCount, 0.);
problem.ValeursDeNTCRef[k].ValeurDuFluxUp.assign(linkCount, 0.);
problem.ValeursDeNTCRef[k].ValeurDuFluxDown.assign(linkCount, 0.);
problem.ValeursDeNTCRef[k].ResistanceApparente.assign(linkCount, 0.);

// TODO VP: Remove this allocation
problem.CorrespondanceVarNativesVarOptim[k]
Expand Down

0 comments on commit 9e6c0c3

Please sign in to comment.