Skip to content

Commit

Permalink
Fix nvidia compile issue in stk_search
Browse files Browse the repository at this point in the history
  • Loading branch information
alanw0 committed Nov 3, 2018
1 parent d7eaff0 commit d20b710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/stk/stk_search/stk_search/Point.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ class Point

KOKKOS_FUNCTION value_type const& operator[](size_t index) const
{
ThrowAssert(index < Dim);
NGP_ThrowAssert(index < Dim);
return m_value[index];
}

KOKKOS_FUNCTION value_type & operator[](size_t index)
{
ThrowAssert(index < Dim);
NGP_ThrowAssert(index < Dim);
return m_value[index];
}

Expand Down

0 comments on commit d20b710

Please sign in to comment.