Commit b45c4d288170136896474baa304c3cf18ed85323
1 parent
fd25140a
add void constructor
Showing
1 changed file
with
14 additions
and
5 deletions
pyext/GMatrix.i
| ... | ... | @@ -4,10 +4,18 @@ |
| 4 | 4 | * copyright (C) 2008-2011 by Jurgen Knodlseder * |
| 5 | 5 | * ----------------------------------------------------------------------- * |
| 6 | 6 | * * |
| 7 | - * This program is free software; you can redistribute it and/or modify * | |
| 8 | - * it under the terms of the GNU General Public License as published by * | |
| 9 | - * the Free Software Foundation; either version 2 of the License, or * | |
| 10 | - * (at your option) any later version. * | |
| 7 | + * This program is free software: you can redistribute it and/or modify * | |
| 8 | + * it under the terms of the GNU General Public License as published by * | |
| 9 | + * the Free Software Foundation, either version 3 of the License, or * | |
| 10 | + * (at your option) any later version. * | |
| 11 | + * * | |
| 12 | + * This program is distributed in the hope that it will be useful, * | |
| 13 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of * | |
| 14 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * | |
| 15 | + * GNU General Public License for more details. * | |
| 16 | + * * | |
| 17 | + * You should have received a copy of the GNU General Public License * | |
| 18 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. * | |
| 11 | 19 | * * |
| 12 | 20 | ***************************************************************************/ |
| 13 | 21 | %{ |
| ... | ... | @@ -27,9 +35,10 @@ |
| 27 | 35 | class GMatrix : public GMatrixBase { |
| 28 | 36 | public: |
| 29 | 37 | // Constructors and destructors |
| 38 | + GMatrix(void); | |
| 30 | 39 | GMatrix(int rows, int cols); |
| 31 | 40 | GMatrix(const GMatrix& m); |
| 32 | - virtual ~GMatrix(); | |
| 41 | + virtual ~GMatrix(void); | |
| 33 | 42 | |
| 34 | 43 | // Operators |
| 35 | 44 | GMatrix operator+ (const GMatrix& m) const; | ... | ... |