Skip to content

Commit

Permalink
Fix feature activation
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Jan 25, 2024
1 parent c5f9f74 commit 54524ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ default = []

nlopt = ["egobox-ego/nlopt", "egobox-gp/nlopt"]
serializable-gp = ["egobox-gp/serializable"]
persistent-moe = ["egobox-moe/persistent", "serializable-gp"]
persistent-moe = ["egobox-moe/persistent"]
blas = ["ndarray/blas", "egobox-gp/blas", "egobox-moe/blas", "egobox-ego/blas"]

[dependencies]
Expand Down
3 changes: 2 additions & 1 deletion src/gp_mix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
//! See the [tutorial notebook](https://github.com/relf/egobox/doc/Gpx_Tutorial.ipynb) for usage.
//!
use crate::types::*;
use egobox_moe::{GpMixture, GpSurrogate};
#[allow(unused_imports)] // Avoid linting problem
use egobox_moe::{FullGpSurrogate, GpMixture, GpSurrogate};
use linfa::{traits::Fit, Dataset};
use ndarray_rand::rand::SeedableRng;
use numpy::{IntoPyArray, PyArray2, PyReadonlyArray2};
Expand Down

0 comments on commit 54524ba

Please sign in to comment.