Skip to content

Commit

Permalink
Minor bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Mar 4, 2019
1 parent 99b7d4a commit f5e0b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymatgen/core/surface.py
Expand Up @@ -165,7 +165,7 @@ def get_orthogonal_c_slab(self):
new_c /= np.linalg.norm(new_c)
new_c = np.dot(c, new_c) * new_c
new_latt = Lattice([a, b, new_c])
return Slab(lattice=new_latt, species=self.species,
return Slab(lattice=new_latt, species=self.species_and_occu,
coords=self.cart_coords, miller_index=self.miller_index,
oriented_unit_cell=self.oriented_unit_cell,
shift=self.shift, scale_factor=self.scale_factor,
Expand Down

0 comments on commit f5e0b61

Please sign in to comment.