Skip to content
Snippets Groups Projects
Commit 8c10ba1d authored by John Romein's avatar John Romein
Browse files

BugID: 225

Fixed rounding error.
parent 86a856f6
No related branches found
No related tags found
No related merge requests found
...@@ -126,7 +126,7 @@ inline uint32 CS1_Parset::nrStations() const ...@@ -126,7 +126,7 @@ inline uint32 CS1_Parset::nrStations() const
inline double CS1_Parset::sampleRate() const inline double CS1_Parset::sampleRate() const
{ {
return getUint32("Observation.sampleClock")*1000000/1024; return getUint32("Observation.sampleClock") * 1000000.0 / 1024;
} }
inline uint32 CS1_Parset::nrSubbandSamples() const inline uint32 CS1_Parset::nrSubbandSamples() const
......
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