Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
caebf42a
Commit
caebf42a
authored
Oct 09, 2018
by
Purves, Murray
Browse files
Fixing nrps calculation
parent
094bc49e
Changes
1
Hide whitespace changes
Inline
Side-by-side
radixio/spectrum.cc
View file @
caebf42a
#include
<cmath>
#include
"radixio/spectrum.hh"
namespace
radix
...
...
@@ -17,7 +19,7 @@ short Spectrum::nrps() const
}
}
short
nrps
=
short
((
maxChannels
/
64
)
+
1
);
short
nrps
=
short
(
ceil
((
float
(
maxChannels
)
/
64
.0
)
+
1
.0
)
);
return
nrps
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment