diff options
Diffstat (limited to 'candle-transformers/src/models/stable_diffusion/utils.rs')
-rw-r--r-- | candle-transformers/src/models/stable_diffusion/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-transformers/src/models/stable_diffusion/utils.rs b/candle-transformers/src/models/stable_diffusion/utils.rs index 5b5fa0f7..0118bafc 100644 --- a/candle-transformers/src/models/stable_diffusion/utils.rs +++ b/candle-transformers/src/models/stable_diffusion/utils.rs @@ -21,7 +21,7 @@ struct LinearInterpolator<'x, 'y> { cache: usize, } -impl<'x, 'y> LinearInterpolator<'x, 'y> { +impl LinearInterpolator<'_, '_> { fn accel_find(&mut self, x: f64) -> usize { let xidx = self.cache; if x < self.xp[xidx] { |