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 6eaeba8 commit 8f85593Copy full SHA for 8f85593
vortex-vector/src/decimal/generic.rs
@@ -73,13 +73,13 @@ impl<D: NativeDecimalType> DVector<D> {
73
}
74
75
// We assert that each element is within bounds for the given precision/scale.
76
- // if !elements.iter().all(|e| ps.is_valid(*e)) {
77
- // vortex_bail!(
78
- // "One or more elements are out of bounds for precision {} and scale {}",
79
- // ps.precision(),
80
- // ps.scale()
81
- // );
82
- // }
+ if !elements.iter().all(|e| ps.is_valid(*e)) {
+ vortex_bail!(
+ "One or more elements are out of bounds for precision {} and scale {}",
+ ps.precision(),
+ ps.scale()
+ );
+ }
83
84
Ok(Self {
85
ps,
0 commit comments