Skip to content

Commit

Permalink
fix typo in mmcif map reader
Browse files Browse the repository at this point in the history
  • Loading branch information
ishitani committed Feb 6, 2025
1 parent af97dc3 commit d3e6390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/xtal/MmcifMapReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace xtal {

MmcifMapReader::MmcifMapReader() : m_pMap(NULL), m_lineno(0)
{
m_cella = m_cellb = mcellc = m_alpha = m_beta = m_gamma = -1.0;
m_cella = m_cellb = m_cellc = m_alpha = m_beta = m_gamma = -1.0;
m_nSG = -1;
m_grid = 0.33;
m_mapr = -1.0; // auto (calc from max F)
Expand Down Expand Up @@ -68,7 +68,7 @@ bool MmcifMapReader::read(qlib::InStream &ins)
parser.read(lin);

// check cell dimension
if (m_cella < 0.0 || m_cellb < 0.0 || mcellc < 0.0 || m_alpha < 0.0 || m_beta < 0.0 ||
if (m_cella < 0.0 || m_cellb < 0.0 || m_cellc < 0.0 || m_alpha < 0.0 || m_beta < 0.0 ||
m_gamma < 0.0) {
auto msg2 = LString("Unit cell def not found");
MB_THROW(qlib::FileFormatException, msg2);
Expand Down

0 comments on commit d3e6390

Please sign in to comment.