summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index a61548d..b37ca0b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -7,7 +7,7 @@ use std::process::ExitCode;
// bnum seems to be slightly faster than ruint,
// and 3x faster than uint.
-type UInt = bnum::types::U512;
+type UInt = bnum::types::U256;
fn is_square(n: UInt) -> bool {
let sq = n.sqrt();