Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from lewisinc/UseNumCrate
Browse files Browse the repository at this point in the history
Zero, One traits have been deprecated in Rust, use Num crate instead
  • Loading branch information
tedsta authored Aug 20, 2017
2 parents b4032fa + 822a2c7 commit 74c1418
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ git = "https://github.com/tedsta/gpuarray-rs"

[dependencies]
rand = "*"
num = "*"
3 changes: 2 additions & 1 deletion src/util.rs
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;

Expand Down

0 comments on commit 74c1418

Please sign in to comment.