diff --git a/src/snapshot.cpp b/src/snapshot.cpp index 828372362d389cd8fd6d1e123204f6ae33456c99..29623af89faa84ba2bb88f8df10c7ff3befd7e8e 100644 --- a/src/snapshot.cpp +++ b/src/snapshot.cpp @@ -28,7 +28,7 @@ void Snapshot::computeSatellites(const int& eph_opt) { assert(obs_!=nullptr && "null obs"); assert(nav_!=nullptr && "null nav"); - assert(!satellitesComputed() && "satellites positions already computed"); + //assert(!satellitesComputed() && "satellites positions already computed"); sats_ = GnssUtils::computeSatellites(*obs_, *nav_, eph_opt); } diff --git a/src/utils/satellite.cpp b/src/utils/satellite.cpp index 40796f2de43c1f9f6a2743ff533be16b99b4d409..f0ebbfc96b80ee69240a66cb7c33823665d46332 100644 --- a/src/utils/satellite.cpp +++ b/src/utils/satellite.cpp @@ -71,9 +71,6 @@ Satellites computeSatellites(const Observations& obs, dts[2*i], dts[2*i+1], svh[i]})); - - assert(sat_pair.second && "satellite already computed"); - /*//DEBUG if (sat_pair.first->second.pos == Eigen::Vector3d::Zero()) std::cout << "\tsat: " << sat_pair.first->second.sat << " ephemeris not available" << std::endl;