~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to lib/atc/SparseMatrix-inl.h

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
//-----------------------------------------------------------------------------
25
25
template<typename T>
26
26
SparseMatrix<T>::SparseMatrix(const SparseMatrix<T>& C)
27
 
 : _val(NULL), _ia(NULL), _ja(NULL), hasTemplate_(false)
 
27
 : Matrix<T>(), _val(NULL), _ia(NULL), _ja(NULL), hasTemplate_(false)
28
28
{
29
29
  _copy(C); 
30
30
}
33
33
//-----------------------------------------------------------------------------
34
34
template<typename T>
35
35
SparseMatrix<T>::SparseMatrix(const DenseMatrix<T>& C) 
36
 
: _val(NULL), _ia(NULL), _ja(NULL), hasTemplate_(false)
 
36
: Matrix<T>(), _val(NULL), _ia(NULL), _ja(NULL), hasTemplate_(false)
37
37
{
38
38
  reset(C); 
39
39
}