Skip to content

Commit

Permalink
Bug fix for the computing cartesian coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
zhubonan committed Apr 21, 2024
1 parent 963b129 commit f6982f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion castepinput/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
from .inputs import ParamInput, CellInput
from .common import Block

__version__ = '0.1.8'
__version__ = '0.1.9'
__all__ = ['Block', 'ParamInput', 'CellInput']
2 changes: 1 addition & 1 deletion castepinput/inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def get_positions(self):
if is_frac:
# We need to multiple the positions with cells
cell = self.get_cell()
pos = np.dot(cell, pos.T).T
pos = np.dot(pos, cell)

return elems, pos, tags

Expand Down

0 comments on commit f6982f3

Please sign in to comment.