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.)
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
