Skip to content

Commit

Permalink
Warnings removal
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Mar 26, 2012
1 parent 16be749 commit 904696a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/shogun/lib/DataType.h
Expand Up @@ -414,12 +414,12 @@ template<class T> class SGNDArray
SGNDArray() : array(NULL), dims(NULL), num_dims(0), do_free(false) { }

/** constructor for setting params */
SGNDArray(T* a, index_t* d, index_t nd, bool free_ndarray = false)
: array(a), dims(d), num_dims(nd), do_free(free_ndarray) { }
SGNDArray(T* a, index_t* d, index_t nd, bool do_free_ndarray = false)
: array(a), dims(d), num_dims(nd), do_free(do_free_ndarray) { }

/** constructor to create new ndarray in memory */
SGNDArray(index_t* d, index_t nd, bool free_ndarray = false)
: dims(d), num_dims(nd), do_free(free_ndarray)
SGNDArray(index_t* d, index_t nd, bool do_free_ndarray = false)
: dims(d), num_dims(nd), do_free(do_free_ndarray)
{
index_t tot = 1;
for (int32_t i=0; i<nd; i++)
Expand Down

0 comments on commit 904696a

Please sign in to comment.