mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-10 14:19:10 -07:00
computer: fix coarse lazy indexes
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
use std::ops::RangeInclusive;
|
||||
|
||||
pub trait FromCoarserIndex<T> {
|
||||
pub trait FromCoarserIndex<T>
|
||||
where
|
||||
T: Ord + From<usize>,
|
||||
{
|
||||
fn min_from(coarser: T) -> usize;
|
||||
fn max_from_(coarser: T) -> usize;
|
||||
fn max_from(coarser: T, len: usize) -> usize {
|
||||
|
||||
Reference in New Issue
Block a user