Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Dialog.cpp

    r6d574a r84c494  
    1414#include "molecule.hpp"
    1515#include "vector.hpp"
     16#include "Matrix.hpp"
     17#include "Box.hpp"
    1618
    1719using namespace std;
     
    162164// Vector Queries
    163165
    164 Dialog::VectorQuery::VectorQuery(std::string title,Vector *_target,const double *const _cellSize,bool _check, std::string _description) :
     166Dialog::VectorQuery::VectorQuery(std::string title,Vector *_target,bool _check, std::string _description) :
    165167  Query(title, _description),
    166   cellSize(_cellSize),
    167168  check(_check),
    168169  target(_target)
     
    182183// Box Queries
    183184
    184 Dialog::BoxQuery::BoxQuery(std::string title, double ** const _cellSize, std::string _description) :
     185Dialog::BoxQuery::BoxQuery(std::string title, Box* _cellSize, std::string _description) :
    185186  Query(title, _description),
    186187  target(_cellSize)
     
    195196
    196197void Dialog::BoxQuery::setResult() {
    197   for (int i=0;i<6;i++) {
    198     (*target)[i] = tmp[i];
    199   }
     198  (*target)= ReturnFullMatrixforSymmetric(tmp);
    200199}
    201200
Note: See TracChangeset for help on using the changeset viewer.