Skip to content
Snippets Groups Projects
Commit 140ba5f9 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Merge branch 'hotfix/0-2-2' into 'main'

#43 Fix channel utils

See merge request beyondaka/beyond-protocol!19
parents 8d817349 ed8b2e77
No related branches found
No related tags found
No related merge requests found
......@@ -23,14 +23,14 @@ std::string name(Channel c);
int type(Channel c);
/** @deprecated */
inline bool isFloatChannel(ftl::codecs::Channel chan) {
inline bool isFloatChannel(ftl::protocol::Channel chan) {
switch (chan) {
case Channel::GroundTruth :
case Channel::Depth :
case Channel::Confidence :
case Channel::Flow :
case Channel::Density :
case Channel::Energy : return true;
case Channel::kGroundTruth :
case Channel::kDepth :
case Channel::kConfidence :
case Channel::kFlow :
case Channel::kDensity :
case Channel::kEnergy : return true;
default : return false;
}
}
......
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