Fix builds and tests.
This commit is contained in:
parent
f17a826f99
commit
0f2e7e3825
@ -1549,6 +1549,7 @@ impl<F: Float> FloatWrapper<F> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(not(feature = "no_float"))]
|
||||||
impl FloatWrapper<FLOAT> {
|
impl FloatWrapper<FLOAT> {
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
pub(crate) const fn const_new(value: FLOAT) -> Self {
|
pub(crate) const fn const_new(value: FLOAT) -> Self {
|
||||||
|
@ -48,6 +48,7 @@ fn test_optimizer_run() -> Result<(), Box<EvalAltResult>> {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(not(feature = "no_module"))]
|
||||||
#[test]
|
#[test]
|
||||||
fn test_optimizer_parse() -> Result<(), Box<EvalAltResult>> {
|
fn test_optimizer_parse() -> Result<(), Box<EvalAltResult>> {
|
||||||
let mut engine = Engine::new();
|
let mut engine = Engine::new();
|
||||||
|
Loading…
Reference in New Issue
Block a user