source: branches/ali/HEADERLIBS/eigen_fix_gcc_610_compile.patch

Last change on this file was 14807, checked in by westram, 9 years ago
  • fix compilation with gcc 6.1.0
    • fix shift-overflow in mafft
    • fix return type in eigen (using patch)
    • let Cxx14 compilers use all Cxx11 features
File size: 672 bytes
  • eigen/Eigen/src/Sparse/AmbiVector.h

     
    4444    void init(RealScalar estimatedDensity);
    4545    void init(int mode);
    4646
    47     void nonZeros() const;
     47    int nonZeros() const;
    4848
    4949    /** Specifies a sub-vector to work on */
    5050    void setBounds(int start, int end) { m_start = start; m_end = end; }
     
    133133
    134134/** \returns the number of non zeros in the current sub vector */
    135135template<typename Scalar>
    136 void AmbiVector<Scalar>::nonZeros() const
     136int AmbiVector<Scalar>::nonZeros() const
    137137{
    138138  if (m_mode==IsSparse)
    139139    return m_llSize;
Note: See TracBrowser for help on using the repository browser.