[arrayfire] 211/248: Typo AFF_ERR_NONFREE -> AF_ERR_NONFREE

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Nov 17 15:54:28 UTC 2015


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

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

commit ca9ca6f2d424b94f468d509d0f1f798ab39b9ef1
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date:   Fri Nov 6 11:41:11 2015 -0500

    Typo AFF_ERR_NONFREE -> AF_ERR_NONFREE
---
 include/af/defines.h        | 2 +-
 src/api/c/sift.cpp          | 4 ++--
 src/backend/cpu/sift.cpp    | 4 ++--
 src/backend/cuda/sift.cu    | 4 ++--
 src/backend/opencl/sift.cpp | 4 ++--
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/include/af/defines.h b/include/af/defines.h
index dc36a27..26df7e6 100644
--- a/include/af/defines.h
+++ b/include/af/defines.h
@@ -135,7 +135,7 @@ typedef enum {
     ///
     /// This build of ArrayFire is not compiled with "nonfree" algorithms
     ///
-    AFF_ERR_NONFREE       = 303,
+    AF_ERR_NONFREE        = 303,
 
     // 400-499 Errors for missing hardware features
 
diff --git a/src/api/c/sift.cpp b/src/api/c/sift.cpp
index 6a2fb60..c7a3858 100644
--- a/src/api/c/sift.cpp
+++ b/src/api/c/sift.cpp
@@ -82,7 +82,7 @@ af_err af_sift(af_features* feat, af_array* desc, const af_array in, const unsig
         }
         std::swap(*desc, tmp_desc);
 #else
-        AF_ERROR("ArrayFire was not built with nonfree support, SIFT disabled\n", AFF_ERR_NONFREE);
+        AF_ERROR("ArrayFire was not built with nonfree support, SIFT disabled\n", AF_ERR_NONFREE);
 #endif
     }
     CATCHALL;
@@ -123,7 +123,7 @@ af_err af_gloh(af_features* feat, af_array* desc, const af_array in, const unsig
         }
         std::swap(*desc, tmp_desc);
 #else
-        AF_ERROR("ArrayFire was not built with nonfree support, GLOH disabled\n", AFF_ERR_NONFREE);
+        AF_ERROR("ArrayFire was not built with nonfree support, GLOH disabled\n", AF_ERR_NONFREE);
 #endif
     }
     CATCHALL;
diff --git a/src/backend/cpu/sift.cpp b/src/backend/cpu/sift.cpp
index d6027d7..70bb11d 100644
--- a/src/backend/cpu/sift.cpp
+++ b/src/backend/cpu/sift.cpp
@@ -45,9 +45,9 @@ unsigned sift(Array<float>& x, Array<float>& y, Array<float>& score,
                                   img_scale, feature_ratio, compute_GLOH);
 #else
     if (compute_GLOH)
-        AF_ERROR("ArrayFire was not built with nonfree support, GLOH disabled\n", AFF_ERR_NONFREE);
+        AF_ERROR("ArrayFire was not built with nonfree support, GLOH disabled\n", AF_ERR_NONFREE);
     else
-        AF_ERROR("ArrayFire was not built with nonfree support, SIFT disabled\n", AFF_ERR_NONFREE);
+        AF_ERROR("ArrayFire was not built with nonfree support, SIFT disabled\n", AF_ERR_NONFREE);
 #endif
 }
 
diff --git a/src/backend/cuda/sift.cu b/src/backend/cuda/sift.cu
index 0b45fa2..f3d36d7 100644
--- a/src/backend/cuda/sift.cu
+++ b/src/backend/cuda/sift.cu
@@ -73,9 +73,9 @@ unsigned sift(Array<float>& x, Array<float>& y, Array<float>& score,
     return nfeat_out;
 #else
     if (compute_GLOH)
-        AF_ERROR("ArrayFire was not built with nonfree support, GLOH disabled\n", AFF_ERR_NONFREE);
+        AF_ERROR("ArrayFire was not built with nonfree support, GLOH disabled\n", AF_ERR_NONFREE);
     else
-        AF_ERROR("ArrayFire was not built with nonfree support, SIFT disabled\n", AFF_ERR_NONFREE);
+        AF_ERROR("ArrayFire was not built with nonfree support, SIFT disabled\n", AF_ERR_NONFREE);
 #endif
 }
 
diff --git a/src/backend/opencl/sift.cpp b/src/backend/opencl/sift.cpp
index 7f83415..5bd940d 100644
--- a/src/backend/opencl/sift.cpp
+++ b/src/backend/opencl/sift.cpp
@@ -64,9 +64,9 @@ unsigned sift(Array<float>& x_out, Array<float>& y_out, Array<float>& score_out,
     return nfeat_out;
 #else
     if (compute_GLOH)
-        AF_ERROR("ArrayFire was not built with nonfree support, GLOH disabled\n", AFF_ERR_NONFREE);
+        AF_ERROR("ArrayFire was not built with nonfree support, GLOH disabled\n", AF_ERR_NONFREE);
     else
-        AF_ERROR("ArrayFire was not built with nonfree support, SIFT disabled\n", AFF_ERR_NONFREE);
+        AF_ERROR("ArrayFire was not built with nonfree support, SIFT disabled\n", AF_ERR_NONFREE);
 #endif
 }
 

-- 
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