Commit a7bfb300 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

update atc/cauchy_born examples with missing files

parent bbcb6591
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
../../../../potentials/Au_u3.eam
 No newline at end of file
+1751 −0

File added.

Preview size limit exceeded, changes collapsed.

+535 −0

File added.

Preview size limit exceeded, changes collapsed.

+531 −0

File added.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ void DenseVector<T>::resize(INDEX rows, INDEX cols, bool copy)
///////////////////////////////////////////////////////////////////////////////
//* resizes the matrix and optionally zeros it out
template <typename T>
void DenseVector<T>::reset(INDEX rows, INDEX cols, bool zero)
void DenseVector<T>::reset(INDEX rows, INDEX /* cols */, bool zero)
{
  if (_size!=rows)
  {
@@ -94,7 +94,7 @@ void DenseVector<T>::reset(INDEX rows, INDEX cols, bool zero)
///////////////////////////////////////////////////////////////////////////////
//* resizes the matrix and optionally zeros it out
template <typename T>
void DenseVector<T>::copy(const T * ptr, INDEX rows, INDEX cols)
void DenseVector<T>::copy(const T * ptr, INDEX rows, INDEX /* cols */)
{
  resize(rows, 1, false);
  memcpy(_data, ptr, this->size()*sizeof(T));