Re: [ViennaCL-devel] Possible bug in amg_base.hpp

2014-08-12 Thread Yaron Keren
Hi Karl I responded on the github issue page, Yaron 2014-08-12 19:12 GMT+03:00 Karl Rupp : > Hi Yaron, > > > > I am trying to use ViennaCL with Ceemple and encountered a possible bug. > >> >> In amg_base.hpp:1045, iter2 is decremented (code below). However, >> nothing (at least locally in thi

Re: [ViennaCL-devel] Possible bug in amg_base.hpp

2014-08-12 Thread Karl Rupp
Hi Yaron, > I am trying to use ViennaCL with Ceemple and encountered a possible bug. > > In amg_base.hpp:1045, iter2 is decremented (code below). However, > nothing (at least locally in this function) prevents iter2 from > being pointlist.begin() and then the result is undefined, see > > http://s

[ViennaCL-devel] Possible bug in amg_base.hpp

2014-08-12 Thread Yaron Keren
Hi, I am trying to use ViennaCL with Ceemple and encountered a possible bug. In amg_base.hpp:1045, iter2 is decremented (code below). However, nothing (at least locally in this function) prevents iter2 from being pointlist.begin() and then the result is undefined, see http://stackoverflow.com/