Skip to content

Commit

Permalink
Update src/utils/sqrt.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Shuhui Luo <[email protected]>
  • Loading branch information
malik672 and shuhuiluo authored Jan 11, 2024
1 parent 686d223 commit e3abedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/sqrt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use crate::prelude::*;
pub fn sqrt(value: &BigInt) -> Result<BigInt, Error> {
if !value >= Zero::zero() {
return Err(Error::Incorrect(
"value has to be greater than -1".to_string(),
"value cannot be negative".to_string(),
));
}

Expand Down

0 comments on commit e3abedf

Please sign in to comment.