Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/molecule_fragmentation.cpp

    r35b698 rc94eeb  
    2222#include "periodentafel.hpp"
    2323#include "World.hpp"
     24#include "Matrix.hpp"
    2425
    2526/************************************* Functions for class molecule *********************************/
     
    17091710  atom *OtherWalker = NULL;
    17101711  double * const cell_size = World::getInstance().getDomain();
    1711   double *matrix = ReturnFullMatrixforSymmetric(cell_size);
     1712  double *matrix_double = ReturnFullMatrixforSymmetric(cell_size);
     1713  Matrix matrix = Matrix(matrix_double);
     1714  delete[](matrix_double);
    17121715  enum Shading *ColorList = NULL;
    17131716  double tmp;
     
    17801783  delete(AtomStack);
    17811784  delete[](ColorList);
    1782   delete[](matrix);
    17831785  DoLog(2) && (Log() << Verbose(2) << "End of ScanForPeriodicCorrection." << endl);
    17841786};
Note: See TracChangeset for help on using the changeset viewer.