We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2228a16 commit d97cf4fCopy full SHA for d97cf4f
necsim/core/src/event.rs
@@ -309,6 +309,7 @@ impl PartialEq for SpeciationEvent {
309
}
310
311
impl Ord for SpeciationEvent {
312
+ #[cfg_attr(target_os = "cuda", inline)]
313
fn cmp(&self, other: &Self) -> Ordering {
314
// Order `Event`s in lexicographical order:
315
// (1) event_time different events
@@ -385,6 +386,7 @@ mod tests {
385
386
387
388
impl Ord for DispersalEvent {
389
390
391
392
// (1) event_time /=\
0 commit comments