diff --git a/src/utils/sqrt.rs b/src/utils/sqrt.rs index 6e120f0..50c5fdd 100644 --- a/src/utils/sqrt.rs +++ b/src/utils/sqrt.rs @@ -11,7 +11,7 @@ use crate::prelude::*; pub fn sqrt(value: &BigInt) -> Result { if !value >= Zero::zero() { return Err(Error::Incorrect( - "value has to be greater than -1".to_string(), + "value cannot be negative".to_string(), )); }