Skip to content

no declaration matches «CMatrix& CMatrix::setBy(int, int, const QList<double>&, SETBY)» #3

@levovix0

Description

@levovix0

Compilation fails with error

../Algebra/cmatrix.cpp:149:10: ошибка: no declaration matches «CMatrix& CMatrix::setBy(int, int, const QList<double>&, SETBY)»
  149 | CMatrix &CMatrix::setBy(int cols, int rows, const QList<double> &matrix, CMatrix::SETBY dir)
      |          ^~~~~~~
In file included from ../Algebra/cmatrix.cpp:1:
../Algebra/cmatrix.h:34:15: замечание: кандидат «CMatrix& CMatrix::setBy(int, int, const TMatrix&, SETBY)»
   34 |     CMatrix & setBy(int cols, int rows, const TMatrix &matrix, SETBY dir=SET_BY_ROWS);
      |               ^~~~~
../Algebra/cmatrix.h:12:7: замечание: «class CMatrix» defined here
   12 | class CMatrix: public CEmpty
      |       ^~~~~~~
make: *** [Makefile:1201: cmatrix.o] Ошибка 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions