Skip to content

Commit

Permalink
Corrected forgotten declaration.
Browse files Browse the repository at this point in the history
  • Loading branch information
hadjipantelis committed Jul 5, 2015
1 parent 00aa715 commit 34bda7d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/dropZeroElementsXYWin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ Eigen::MatrixXd dropZeroElementsXYWin( const Eigen::Map<Eigen::VectorXd> & win,

unsigned int nZeroElements = std::count(&win[0], &win[nXGrid], 0.);

Eigen::MatrixXd Q(nZeroElements,3);

// Check that we do not have zero weights // Should do a try-catch here
if( nZeroElements != 0 ){ //
Eigen::MatrixXd Q(nXGrid - nZeroElements,3);
Expand Down

0 comments on commit 34bda7d

Please sign in to comment.