Fix builds and tests.

This commit is contained in:
Stephen Chung
2021-04-06 23:28:22 +08:00
parent f17a826f99
commit 0f2e7e3825
2 changed files with 2 additions and 0 deletions

View File

@@ -1549,6 +1549,7 @@ impl<F: Float> FloatWrapper<F> {
}
}
#[cfg(not(feature = "no_float"))]
impl FloatWrapper<FLOAT> {
#[inline(always)]
pub(crate) const fn const_new(value: FLOAT) -> Self {