Skip to content

Commit

Permalink
fix buildbot warnings - SGVector
Browse files Browse the repository at this point in the history
  • Loading branch information
OXPHOS committed Mar 15, 2017
1 parent 0151f26 commit 6400d84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shogun/lib/SGVector.cpp
Expand Up @@ -98,9 +98,9 @@ SGVector<T>::SGVector(index_t len, bool ref_counting)
}

template<class T>
SGVector<T>::SGVector(GPUMemoryBase<T>* vector, index_t len)
SGVector<T>::SGVector(GPUMemoryBase<T>* gpu_vector, index_t len)
: SGReferencedData(true), vector(NULL), vlen(len),
gpu_ptr(std::shared_ptr<GPUMemoryBase<T>>(vector))
gpu_ptr(std::shared_ptr<GPUMemoryBase<T>>(gpu_vector))
{
m_on_gpu.store(true, std::memory_order_release);
}
Expand Down

0 comments on commit 6400d84

Please sign in to comment.