Possible problem in dump_modify pbc

Dear all,

I've encountered a strange behaviour of dump_modify pbc when used with
a tilted box-definition.

When I run the attached in-file in lammps (with the atoms from
test.lammps), the file bug.custom correctly lists the positions as

ITEM: ATOMS id type x y z
1 2 0 0 0
2 1 0 1.75978 1.75978
3 1 1.75978 0 1.75978
4 1 1.75978 1.75978 0

When I uncomment the dump_modify command in bug.in to make sure that all
atoms are wrapped to the cell, the outcome changes to

ITEM: ATOMS id type x y z
1 2 0 0 0
2 1 0 0.759778 0.759778
3 1 0.759778 0 0.759778
4 1 0.759778 0.759778 0

When I remove the tilt-lines
0.0 0.0 0.0 xy xz yz
from the configuration file test.lammps, everything works as expected.

I'm not sure whether I am doing something stupid with my box
specification in test.lammps or whether this is some kind of bug.

My lammps-version is the current lmp_daily on Ubuntu 16.04, build date
8 Feb 2019.

Thanks for any help,

Martin.

bug.in (677 Bytes)

test.lammps (271 Bytes)

Martin,

Can you please submit this as a bug report on the LAMMPS GitHub project?

Thanks, Axel.