Skip to content

Commit

Permalink
Bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
entropylost committed Mar 16, 2024
1 parent d36d6f2 commit dadc37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luisa_compute/src/lang/control_flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ pub fn for_unrolled<I: IntoIterator>(iter: I, mut body: impl FnMut(I::Item)) {
}
}

pub fn for_range<R: ForLoopRange>(r: R, body: impl FnMut(Expr<R::Element>)) {
pub fn for_range<R: ForLoopRange>(r: R, mut body: impl FnMut(Expr<R::Element>)) {
let start = r.start().get();
let end = r.end().get();
let inc = |v: NodeRef| {
Expand Down

0 comments on commit dadc37f

Please sign in to comment.