Skip to content

Commit

Permalink
clip
Browse files Browse the repository at this point in the history
  • Loading branch information
kali committed Mar 27, 2024
1 parent 097063c commit 7d18570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/ops/konst.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl TypedOp for Const {
let op = if self.0.datum_type() == TDim::datum_type() {
let mut tensor = self.0.clone().into_tensor();
for d in tensor.as_slice_mut::<TDim>()? {
*d = d.eval(&values);
*d = d.eval(values);
}
Const(tensor.into_arc_tensor())
} else {
Expand Down

0 comments on commit 7d18570

Please sign in to comment.