We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 643de78 commit 3aad1b6Copy full SHA for 3aad1b6
1 file changed
hll/include/HllArray-internal.hpp
@@ -79,6 +79,8 @@ HllArray<A>* HllArray<A>::copyAs(target_hll_type tgtHllType) const {
79
return HllSketchImplFactory<A>::convertToHll6(*this);
80
case target_hll_type::HLL_8:
81
return HllSketchImplFactory<A>::convertToHll8(*this);
82
+ default:
83
+ throw std::invalid_argument("Invalid target HLL type");
84
}
85
86
0 commit comments