Skip to content

Commit

Permalink
Update Examples/Io/Obj/src/ObjSimHitWriter.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander J. Pfleger <[email protected]>
  • Loading branch information
asalzburger and AJPfleger authored Dec 4, 2024
1 parent c184d19 commit 8ded30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/Io/Obj/src/ObjSimHitWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ std::vector<Acts::Vector3> interpolatedPoints(
const std::vector<input_vector_type>& inputs, std::size_t nPoints) {
std::vector<Acts::Vector3> output;

if (nPoints < 1) {
if (nPoints < 2) {
// No interpolation done return simply the output vector
for (const auto& input : inputs) {
output.push_back(input.template head<3>());
Expand Down

0 comments on commit 8ded30c

Please sign in to comment.