Skip to content

Commit

Permalink
Update baselinecollection.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Platone committed Sep 10, 2023
1 parent 8b7e209 commit 8c126d7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vlbi/baselinecollection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ void BaselineCollection::update()
nodes[o] = getNodes()->at(idx);
if(o == 0)
sprintf(name, "%s", nodes[o]->getName());
else
sprintf(name, "%s_%s", name, nodes[o]->getName());
else {
strcat(name, "*");
strcat(name, nodes[o]->getName());
}
}
VLBIBaseline *b = new VLBIBaseline(nodes, getCorrelationOrder());
if(!this->contains(name))
Expand Down

0 comments on commit 8c126d7

Please sign in to comment.