Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

address issues 9 #16

Merged
merged 3 commits into from
Aug 11, 2019
Merged

address issues 9 #16

merged 3 commits into from
Aug 11, 2019

Conversation

HAOYUatHZ
Copy link
Contributor

No description provided.

src/lib.rs Outdated
@@ -360,27 +360,9 @@ pub fn pari_qf_comp_to_decimal_string(pari_qf: GEN, index: usize) -> String {
comp_str_slice.to_string()
}

//TODO: use str::parse
pub fn decimal_string_to_bn(dec_string: String) -> BigInt {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it would be simpler to replace all calls for decimal_string_to_bn with calls to str::parse. Seem redundant to have a function only executing one line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make points.
@omershlo what do u think

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, missed that.
Sounds good to me.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, missed that.
Sounds good to me.

no problem, will do.

@HAOYUatHZ
Copy link
Contributor Author

done and tested using cargo test tests -- --test-threads=1

@omershlo @amanusk

@omershlo omershlo merged commit 325ae51 into ZenGo-X:master Aug 11, 2019
@HAOYUatHZ HAOYUatHZ deleted the issues/9 branch August 6, 2020 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants