Skip to content

Commit

Permalink
SYCL fix
Browse files Browse the repository at this point in the history
  • Loading branch information
beomki-yeo committed Aug 23, 2022
1 parent fd7e0e0 commit dfe3291
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/include/detray/coordinates/polar2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ struct polar2 : public coordinate_base<polar2, transform3_t> {

DETRAY_HOST_DEVICE
inline matrix_type<3, 2> bound_to_free_rotation(
const transform3_t &trf3, const trigonometrics & /*t*/) {
const transform3_t & /*trf3*/, const trigonometrics & /*t*/) {

/*
matrix_type<3, 2> bound_to_free_rotation =
Expand All @@ -91,7 +91,7 @@ struct polar2 : public coordinate_base<polar2, transform3_t> {
}

DETRAY_HOST_DEVICE inline matrix_type<2, 3> free_to_bound_rotation(
const transform3_t &trf3, const trigonometrics & /*t*/) {}
const transform3_t & /*trf3*/, const trigonometrics & /*t*/) {}
};

} // namespace detray
2 changes: 2 additions & 0 deletions core/include/detray/tracks/detail/track_helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ struct track_helper {
inline trigonometrics get_trigonometrics(
const free_vector& free_vec) const {

const vector3 dir = this->dir(free_vec);

const scalar_type theta = getter::theta(dir);
const scalar_type phi = getter::phi(dir);

Expand Down

0 comments on commit dfe3291

Please sign in to comment.