> On 23 Dec 2017, at 4:59 PM, Jed Brown <[email protected]> wrote: > > Thanks for noticing this. I fixed it in 'maint' and 'master'. Did it > actually cause you an error? (The logical operations normally result in > only 0 or 1.)
No error, but I’ve “fixed" this internally for a while, so I can’t really say. Should have bugged your earlier about this, my bad! > Pierre Jolivet <[email protected]> writes: > >> Hello, >> Are you sure that a bitwise AND is the right operator here >> https://bitbucket.org/petsc/petsc/src/d209cd380f7aba331915877696c8ffe10e8df5ea/src/vec/vec/utils/vpscat.h?at=master&fileviewer=file-view-default#vpscat.h-66 >> >> <https://bitbucket.org/petsc/petsc/src/d209cd380f7aba331915877696c8ffe10e8df5ea/src/vec/vec/utils/vpscat.h?at=master&fileviewer=file-view-default#vpscat.h-66> >> and there >> https://bitbucket.org/petsc/petsc/src/d209cd380f7aba331915877696c8ffe10e8df5ea/src/vec/vec/utils/vpscat_mpi1.h?at=master&fileviewer=file-view-default#vpscat_mpi1.h-66 >> >> <https://bitbucket.org/petsc/petsc/src/d209cd380f7aba331915877696c8ffe10e8df5ea/src/vec/vec/utils/vpscat_mpi1.h?at=master&fileviewer=file-view-default#vpscat_mpi1.h-66> >> ? >> >> Thanks, >> Pierre
