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

#43 Fix channel utils

parent 8d817349
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