Skip to content

Commit

Permalink
Fix build error with seed (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler authored Sep 13, 2024
1 parent 9240d03 commit 8a99f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion candle-core/src/metal_backend/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2106,7 +2106,7 @@ impl BackendDevice for MetalDevice {
}
seed_buffer.did_modify_range(metal::NSRange::new(0, 4));

*self.seed_value.write().unwrap() = seed;
*self.seed_value.write().unwrap() = seed as u64;

Ok(())
}
Expand Down

0 comments on commit 8a99f7c

Please sign in to comment.