-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix[pallas-math]: use malachite as default
- Loading branch information
1 parent
efdc102
commit 518215f
Showing
7 changed files
with
183 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,6 @@ | ||
pub mod math; | ||
|
||
// Ensure only one of `gmp` or `num` is enabled, not both. | ||
#[cfg(all(feature = "gmp", feature = "num"))] | ||
compile_error!("Features `gmp` and `num` are mutually exclusive."); | ||
|
||
#[cfg(all(not(feature = "gmp"), not(feature = "num")))] | ||
compile_error!("One of the features `gmp` or `num` must be enabled."); | ||
|
||
#[cfg(feature = "gmp")] | ||
pub mod math_gmp; | ||
|
||
#[cfg(feature = "num")] | ||
pub mod math_num; | ||
#[cfg(not(feature = "gmp"))] | ||
pub mod math_malachite; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.