diff --git a/src/lib/wasm.rs b/src/lib/wasm.rs index bbe268e..1854a20 100644 --- a/src/lib/wasm.rs +++ b/src/lib/wasm.rs @@ -58,8 +58,8 @@ impl Solver { .collect() } - pub fn solution_space(&self) -> u64 { - self.0.stats().0 + pub fn solution_space(&self) -> u32 { + self.0.stats().0 as u32 } pub fn solution_space_uncertainty(&self) -> f64 { diff --git a/web/src/App.svelte b/web/src/App.svelte index b792ade..030fef4 100644 --- a/web/src/App.svelte +++ b/web/src/App.svelte @@ -1,7 +1,8 @@