[arrayfire] 46/84: Fixing documentation for replace function

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Jan 4 23:22:22 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository arrayfire.

commit ac09f917981295097d30b1fc5a9224d4e8141056
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Tue Dec 22 14:47:12 2015 -0500

    Fixing documentation for replace function
---
 include/af/data.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/af/data.h b/include/af/data.h
index bab1490..5808833 100644
--- a/include/af/data.h
+++ b/include/af/data.h
@@ -517,9 +517,9 @@ namespace af
 
 #if AF_API_VERSION >= 31
     /**
-       \param[inout]  a is the array whose values are replaced with values from \p b when \p cond is true
+       \param[inout]  a is the array whose values are replaced with values from \p b when \p cond is false
        \param[in]  cond is the conditional array
-       \param[in]  b is the array containing elements which replace elements in \p a when \p cond is true
+       \param[in]  b is the array containing elements which replace elements in \p a when \p cond is false
 
        \ingroup data_func_replace
     */
@@ -528,9 +528,9 @@ namespace af
 
 #if AF_API_VERSION >= 31
     /**
-       \param[inout]  a is the array whose values are replaced with values from \p b when \p cond is true
+       \param[inout]  a is the array whose values are replaced with values from \p b when \p cond is false
        \param[in]  cond is the conditional array
-       \param[in]  b is value that replaces elements in \p a when \p cond is true
+       \param[in]  b is value that replaces elements in \p a when \p cond is false
 
        \ingroup data_func_replace
     */
@@ -836,7 +836,7 @@ extern "C" {
 
 #if AF_API_VERSION >= 31
     /**
-       \param[inout] a is the array whose values are replaced by \p b when \p cond is true
+       \param[inout] a is the array whose values are replaced by \p b when \p cond is false
        \param[in]  cond is the conditional array
        \param[in]  b is the array containing elements that replaces elements of a where \p cond is false
 
@@ -847,7 +847,7 @@ extern "C" {
 
 #if AF_API_VERSION >= 31
     /**
-       \param[inout] a is the array whose values are replaced by \p b when \p cond is true
+       \param[inout] a is the array whose values are replaced by \p b when \p cond is false
        \param[in]  cond is the conditional array
        \param[in]  b is the scalar that replaces the false parts of \p a
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git



More information about the debian-science-commits mailing list