resolve unused parameter warnings in USER-ATC package

This commit is contained in:
Axel Kohlmeyer
2019-10-20 11:24:13 -04:00
parent 118c2e5be3
commit b705525734
97 changed files with 550 additions and 531 deletions

View File

@ -498,7 +498,7 @@ TRIPLET<T> SparseMatrix<T>::triplet(INDEX i) const
// full reset - completely wipes out all SparseMatrix data, zero is ignored
//-----------------------------------------------------------------------------
template<typename T>
void SparseMatrix<T>::reset(INDEX rows, INDEX cols, bool zero)
void SparseMatrix<T>::reset(INDEX rows, INDEX cols, bool /* zero */)
{
_delete();
_nRows = rows;
@ -545,7 +545,7 @@ void SparseMatrix<T>::reset(const DenseMatrix<T>& D, double TOL)
// copy - dangerous: ignores rows & columns
//-----------------------------------------------------------------------------
template<typename T>
void SparseMatrix<T>::copy(const T * ptr, INDEX rows, INDEX cols)
void SparseMatrix<T>::copy(const T * /* ptr */, INDEX /* rows */, INDEX /* cols */)
{
std::cout << "SparseMatrix<T>::copy() has no effect.\n";
throw;