Skip to content

Commit

Permalink
seed constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
cvarni committed Sep 11, 2024
1 parent 8ced55e commit e397951
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ ProcessCode PrototracksToParameters::execute(
const auto z_vertex = -t / m;
const auto s = tmpSps.size();

SimSeed seed =
m_cfg.buildTightSeeds
? SimSeed(*tmpSps[0], *tmpSps[1], *tmpSps[2], z_vertex)
: SimSeed(*tmpSps[0], *tmpSps[s / 2], *tmpSps[s - 1], z_vertex);
SimSeed seed = m_cfg.buildTightSeeds
? SimSeed(*tmpSps[0], *tmpSps[1], *tmpSps[2]),
: SimSeed(*tmpSps[0], *tmpSps[s / 2], *tmpSps[s - 1]);
seed.setZvertex(z_vertex);

// Compute parameters
const auto &bottomSP = seed.sp().front();
Expand Down

0 comments on commit e397951

Please sign in to comment.