-
Notifications
You must be signed in to change notification settings - Fork 15
Validate dimensionality #43
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
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,6 +47,7 @@ | |
| //! | ||
| #![deny(missing_debug_implementations)] | ||
| #![warn(missing_docs, unused_extern_crates, trivial_casts, unused_results)] | ||
| #![recursion_limit = "128"] | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you please tell me why we need a recursion limit? I don't remember any use of recursion in this lib.
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the compiler's recursive operation limit. Recursion is used internally by the |
||
|
|
||
| #[macro_use] extern crate quick_error; | ||
| #[macro_use] extern crate num_derive; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is 0 a valid dimensionality?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great question, I don't know. Might be worth looking into this.