Opened 10 years ago
Last modified 8 years ago
#7655 new Bugs
signed/unsigned mismatch warning in inplace_solver
Reported by: | Tobias Loew | Owned by: | Gunter |
---|---|---|---|
Milestone: | To Be Determined | Component: | uBLAS |
Version: | Boost 1.52.0 | Severity: | Cosmetic |
Keywords: | Cc: |
Description
MSVC 9 emits a warning "C4018: '<' : signed/unsigned mismatch" in line 2165 (inplace_solve) in triangular.hpp
Attachments (1)
Change History (3)
by , 10 years ago
Attachment: | triangular.hpp.7655.patch added |
---|
comment:1 by , 10 years ago
The code is comparing a difference_type to a size_type. A brief inspection of the code suggests that the difference_type value can go negative, so casting the size_type to difference_type should be correct.
comment:2 by , 8 years ago
Just to let you know that I've also succesfully applied this patch in version 1.55.0, for GCC 4.7.2 (x64).
Note:
See TracTickets
for help on using tickets.
Patch against 1.53.0 boost/numeric/ublas/triangular.hpp