Skip to content

Commit

Permalink
Minor.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluescarni committed Sep 21, 2024
1 parent a4bb436 commit a52f198
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/taylor_02.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1201,8 +1201,7 @@ std::vector<llvm_state> taylor_compute_jet_multi(llvm_state &main_state, llvm::T
// the custom transform:
//
// https://en.cppreference.com/w/cpp/ranges/as_rvalue_view
auto sview = states | std::views::transform([](llvm_state &s) -> llvm_state && { return std::move(s); });
return rng_to_vec(sview);
return rng_to_vec(states | std::views::transform([](llvm_state &s) -> llvm_state && { return std::move(s); }));
}

// Helper for the computation of a jet of derivatives in compact mode,
Expand Down

0 comments on commit a52f198

Please sign in to comment.