Skip to content

Commit ac09f91

Browse files
committed
Fixing documentation for replace function
1 parent 301e388 commit ac09f91

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

include/af/data.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -517,9 +517,9 @@ namespace af
517517

518518
#if AF_API_VERSION >= 31
519519
/**
520-
\param[inout] a is the array whose values are replaced with values from \p b when \p cond is true
520+
\param[inout] a is the array whose values are replaced with values from \p b when \p cond is false
521521
\param[in] cond is the conditional array
522-
\param[in] b is the array containing elements which replace elements in \p a when \p cond is true
522+
\param[in] b is the array containing elements which replace elements in \p a when \p cond is false
523523
524524
\ingroup data_func_replace
525525
*/
@@ -528,9 +528,9 @@ namespace af
528528

529529
#if AF_API_VERSION >= 31
530530
/**
531-
\param[inout] a is the array whose values are replaced with values from \p b when \p cond is true
531+
\param[inout] a is the array whose values are replaced with values from \p b when \p cond is false
532532
\param[in] cond is the conditional array
533-
\param[in] b is value that replaces elements in \p a when \p cond is true
533+
\param[in] b is value that replaces elements in \p a when \p cond is false
534534
535535
\ingroup data_func_replace
536536
*/
@@ -836,7 +836,7 @@ extern "C" {
836836

837837
#if AF_API_VERSION >= 31
838838
/**
839-
\param[inout] a is the array whose values are replaced by \p b when \p cond is true
839+
\param[inout] a is the array whose values are replaced by \p b when \p cond is false
840840
\param[in] cond is the conditional array
841841
\param[in] b is the array containing elements that replaces elements of a where \p cond is false
842842
@@ -847,7 +847,7 @@ extern "C" {
847847

848848
#if AF_API_VERSION >= 31
849849
/**
850-
\param[inout] a is the array whose values are replaced by \p b when \p cond is true
850+
\param[inout] a is the array whose values are replaced by \p b when \p cond is false
851851
\param[in] cond is the conditional array
852852
\param[in] b is the scalar that replaces the false parts of \p a
853853

0 commit comments

Comments
 (0)