Skip to content
Snippets Groups Projects
Commit b9ee7cf7 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

removed nonsense and inconvenient assert

parent 3aee60b4
No related branches found
No related tags found
2 merge requests!20new tag,!19new tag
......@@ -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);
}
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment