This repository has been archived by the owner on Mar 30, 2018. It is now read-only.
forked from tedsta/deeplearn-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Zero, One traits have been deprecated in Rust, use Num crate instead
Reference here: rust-lang/rfcs#369
- Loading branch information
1 parent
b4032fa
commit 822a2c7
Showing
2 changed files
with
3 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ git = "https://github.com/tedsta/gpuarray-rs" | |
|
||
[dependencies] | ||
rand = "*" | ||
num = "*" |
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,4 +1,5 @@ | ||
use std::num::{Zero, One}; | ||
extern crate num; | ||
use self::num::{Zero, One}; | ||
|
||
use ga::Array; | ||
|
||
|