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

Add type annotation required by rustc 2015-03-31 #110

Merged
merged 1 commit into from
Apr 1, 2015

Conversation

andersk
Copy link
Contributor

@andersk andersk commented Mar 31, 2015

Resolves this error, which is fallout from
rust-lang/rust#23673:

src/structs/dmat.rs:501:43: 501:74 error: type annotations required: cannot resolve `<f64 as core::ops::Div<_>>::Output == f64` [E0284]
src/structs/dmat.rs:501         let normalizer: N    = Cast::from(1.0f64 / Cast::from(self.nrows));
                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Anders Kaseorg [email protected]

Resolves this error, which is fallout from
rust-lang/rust#23673:

src/structs/dmat.rs:501:43: 501:74 error: type annotations required: cannot resolve `<f64 as core::ops::Div<_>>::Output == f64` [E0284]
src/structs/dmat.rs:501         let normalizer: N    = Cast::from(1.0f64 / Cast::from(self.nrows));
                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Anders Kaseorg <[email protected]>
milibopp added a commit that referenced this pull request Apr 1, 2015
Add type annotation required by rustc 2015-03-31
@milibopp milibopp merged commit f44b338 into dimforge:master Apr 1, 2015
@milibopp milibopp mentioned this pull request Apr 1, 2015
@tomaka
Copy link
Contributor

tomaka commented Apr 1, 2015

Could this be uploaded on crates.io please? :)

@andersk andersk deleted the annotation branch April 3, 2015 22:40
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.

3 participants