Skip to content

Commit f4f948f

Browse files
committed
minor change
1 parent ddb96a9 commit f4f948f

2 files changed

Lines changed: 15 additions & 16 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
build:
88
strategy:
99
matrix:
10-
os: [ubuntu-latest, windows-latest, macOS-latest]
10+
os: [ubuntu-latest]
1111
version: [latest, branch@master, branch@dev]
1212

1313
runs-on: ${{ matrix.os }}

include/py2cpp/fractions.hpp

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ namespace fun {
194194
/**
195195
* @brief Equal to
196196
*
197-
* @param[in] lhs
198-
* @param[in] rhs
199-
* @return true if lhs == rhs, false otherwise
197+
* @param[in] lhs The fraction
198+
* @param[in] rhs The integer value
199+
* @return true if equal, false otherwise
200200
*/
201201
friend CONSTEXPR14 auto operator==(const Fraction &lhs, const Z &rhs) -> bool {
202202
if (lhs._den == Z(1) || rhs == Z(0)) {
@@ -248,9 +248,9 @@ namespace fun {
248248
/**
249249
* @brief Equal to
250250
*
251-
* @param[in] lhs
252-
* @param[in] rhs
253-
* @return true if lhs == rhs, false otherwise
251+
* @param[in] lhs The integer value
252+
* @param[in] rhs The fraction
253+
* @return true if equal, false otherwise
254254
*/
255255
friend CONSTEXPR14 auto operator==(const Z &lhs, const Fraction &rhs) -> bool {
256256
return rhs == lhs;
@@ -266,9 +266,9 @@ namespace fun {
266266
/**
267267
* @brief Equal to
268268
*
269-
* @param[in] lhs
270-
* @param[in] rhs
271-
* @return true if lhs == rhs, false otherwise
269+
* @param[in] lhs The first fraction
270+
* @param[in] rhs The second fraction
271+
* @return true if equal, false otherwise
272272
*/
273273
friend CONSTEXPR14 auto operator==(const Fraction &lhs, const Fraction &rhs) -> bool {
274274
if (lhs._den == rhs._den) {
@@ -707,13 +707,12 @@ namespace fun {
707707
}
708708

709709
/**
710-
* @brief
710+
* @brief Stream output operator for Fraction
711711
*
712-
* @tparam _Stream
713-
* @tparam Z The integer type for numerator and denominator
714-
* @param[in] os
715-
* @param[in] frac
716-
* @return _Stream&
712+
* @tparam _Stream The stream type
713+
* @param[in] os The output stream
714+
* @param[in] frac The fraction to output
715+
* @return _Stream& Reference to the output stream
717716
*/
718717
template <typename _Stream> friend auto operator<<(_Stream &os, const Fraction &frac)
719718
-> _Stream & {

0 commit comments

Comments
 (0)