Hello. There is code from SatArcMarker.cpp:

// Satellites can be new only once, and having at least once a flag > 0.0 outside 'unstablePeriod' will make them old.

if( satIsNewMap[ (*it).first ] && not(insideUnstable) && flag <= 0.0 )

{ satIsNewMap[ (*it).first ] = false; }

Why flag>0 in comment, but in block if(...) condition flag<=0.0 is used? I think the correct variant the following:

if( satIsNewMap[ (*it).first ] && not(insideUnstable) && flag > 0.0 )

Am i right? Thanks for your comments.

-- AndreyPodkorytov - 18 Mar 2011


ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

No such template def TMPL:DEF{PROMPT:supportquery}

Topic revision: r1 - 18 Mar 2011, AndreyPodkorytov

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback