Re: [Boost-bugs] [Boost C++ Libraries] #12172: Warning in ublas/matrix_expression.hpp from GCC 6.1.0 -Wmisleading-indentation

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12172: Warning in ublas/matrix_expression.hpp from GCC 6.1.0 -Wmisleading-indentation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-10 23:20:18


#12172: Warning in ublas/matrix_expression.hpp from GCC 6.1.0 -Wmisleading-
indentation
--------------------------------------+---------------------
  Reporter: lopresti@… | Owner: guwi17
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: uBLAS
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+---------------------

Comment (by anonymous):

 By pure coincidence, the two possible interpretations are equivalent. The
 condition being tested by the two if statements is the same, so the way it
 is written now is slightly less efficient, but still produces the right
 result. The patch proposed by khalil is probably what the original author
 intended.

 In other words, you don't need to worry about regressions.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12172#comment:4>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC