Skip to content

Commit

Permalink
Typos in comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
odlomax committed Sep 13, 2024
1 parent b6ff4af commit 6db4f83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/atlas/array/ArrayViewVariant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ using namespace detail;
namespace {

// Match array.rank() and array.datatype() to variant types. Return result of
// makeView on a successfull pattern match.
// makeView on a successful pattern match.
template <size_t TypeIndex = 0, typename ArrayType, typename MakeView>
ArrayViewVariant executeMakeView(ArrayType& array, const MakeView& makeView) {
using View = std::variant_alternative_t<TypeIndex, ArrayViewVariant>;
Expand Down
2 changes: 1 addition & 1 deletion src/atlas/array/ArrayViewVariant.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ ArrayViewVariant make_view_variant(const Array& array);
/// @brief Create a host ArrayView and assign to an ArrayViewVariant.
ArrayViewVariant make_host_view_variant(Array& array);

/// @brief Create a host const ArrayView and assign to an ArrayViewVariant.
/// @brief Create a const host ArrayView and assign to an ArrayViewVariant.
ArrayViewVariant make_host_view_variant(const Array& array);

/// @brief Create a device ArrayView and assign to an ArrayViewVariant.
Expand Down

0 comments on commit 6db4f83

Please sign in to comment.