Skip to content

Commit

Permalink
Compile error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicDirkx committed Jan 20, 2025
1 parent bff1ccd commit ea55aa9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/tudat/simulation/estimation_setup/observations.h
Original file line number Diff line number Diff line change
Expand Up @@ -2669,7 +2669,7 @@ class ObservationCollection
{
for ( auto link_end_it : obs_it.second )
{
if( observationSetList_.at( obs_it ).count( link_end_it.first ) == 0 )
if( observationSetList_.at( obs_it.first ).count( link_end_it.first ) == 0 )
{
observationSetList_[ obs_it.first ][ link_end_it.first ] == link_end_it.second;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -815,8 +815,9 @@ std::shared_ptr< observation_models::ObservationCollection< ObservationScalarTyp
const std::map< std::string, Eigen::Vector3d >& earthFixedGroundStationPositions =
simulation_setup::getCombinedApproximateGroundStationPositions( ) )
{
vector< std::string > groundStationNameList( ifmsFileNames.size( ), groundStationName);
return createMultiStationIfmsObservedObservationCollectionFromFiles(
std::vector< std::string > groundStationNameList( ifmsFileNames.size( ), groundStationName);

return createMultiStationIfmsObservedObservationCollectionFromFiles< ObservationScalarType, TimeType >(
ifmsFileNames, bodies, targetName, groundStationNameList, receptionBand, transmissionBand, applyTroposphereCorrection, earthFixedGroundStationPositions );
}

Expand Down

0 comments on commit ea55aa9

Please sign in to comment.