Skip to content

Commit

Permalink
Fix typos in the comments in alpaka/vec/Vec (#2019)
Browse files Browse the repository at this point in the history
Co-authored-by: AuroraPerego <aurora.perego@cern.ch>
  • Loading branch information
fwyzard and AuroraPerego authored Jul 26, 2023
1 parent bfc35ed commit 1eadba4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/alpaka/vec/Vec.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Copyright 2022 Axel Huebl, Benjamin Worpitz, Erik Zenker, Matthias Werner, René Widera, Andrea Bocci, Jan Stephan,
* Bernhard Manfred Gruber
/* Copyright 2023 Axel Huebl, Benjamin Worpitz, Erik Zenker, Matthias Werner, René Widera, Andrea Bocci, Jan Stephan,
* Bernhard Manfred Gruber
* SPDX-License-Identifier: MPL-2.0
*/

Expand Down Expand Up @@ -255,14 +255,14 @@ namespace alpaka
return foldrAll(meta::max<TVal>(), std::numeric_limits<TVal>::min());
}

//! \return True if all values are true, i.e., the "logcal and" of all values.
//! \return True if all values are true, i.e., the "logical and" of all values.
ALPAKA_NO_HOST_ACC_WARNING
[[nodiscard]] ALPAKA_FN_HOST_ACC constexpr auto all() const -> bool
{
return foldrAll(std::logical_and<TVal>(), true);
}

//! \return True if any value is true, i.e., the "logcal or" of all values.
//! \return True if any value is true, i.e., the "logical or" of all values.
ALPAKA_NO_HOST_ACC_WARNING
[[nodiscard]] ALPAKA_FN_HOST_ACC constexpr auto any() const -> bool
{
Expand Down

0 comments on commit 1eadba4

Please sign in to comment.