Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Dialog.cpp

    r84c494 r6d574a  
    1414#include "molecule.hpp"
    1515#include "vector.hpp"
    16 #include "Matrix.hpp"
    17 #include "Box.hpp"
    1816
    1917using namespace std;
     
    164162// Vector Queries
    165163
    166 Dialog::VectorQuery::VectorQuery(std::string title,Vector *_target,bool _check, std::string _description) :
     164Dialog::VectorQuery::VectorQuery(std::string title,Vector *_target,const double *const _cellSize,bool _check, std::string _description) :
    167165  Query(title, _description),
     166  cellSize(_cellSize),
    168167  check(_check),
    169168  target(_target)
     
    183182// Box Queries
    184183
    185 Dialog::BoxQuery::BoxQuery(std::string title, Box* _cellSize, std::string _description) :
     184Dialog::BoxQuery::BoxQuery(std::string title, double ** const _cellSize, std::string _description) :
    186185  Query(title, _description),
    187186  target(_cellSize)
     
    196195
    197196void Dialog::BoxQuery::setResult() {
    198   (*target)= ReturnFullMatrixforSymmetric(tmp);
     197  for (int i=0;i<6;i++) {
     198    (*target)[i] = tmp[i];
     199  }
    199200}
    200201
Note: See TracChangeset for help on using the changeset viewer.