Skip to content

Commit a71cc43

Browse files
authored
Update mlmodel.cpp
1 parent a9554e2 commit a71cc43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/viam/sdk/services/mlmodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ std::ostream& operator<<(std::ostream& os, MLModelService::tensor_info::data_typ
108108
} else {
109109
// Cast to unsigned because uint8_t is unsigned char, and 0-9 are whitespace or non printing
110110
// characters
111-
os << static_cast<unsigned>(static_cast<std::underlying_type_t<decltype(dt)>>(dt));
111+
os << static_cast<unsigned>(dt);
112112
}
113113

114114
return os;

0 commit comments

Comments
 (0)