Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cosurgi committed Aug 4, 2015
1 parent 1b3b68f commit e1fd098
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/base/Math.hpp
Expand Up @@ -10,6 +10,7 @@
#define HERE
#endif
#define HERE2 std::cout << ":::::::------ At " __FILE__ ":" << __LINE__ << std::endl
#define HERE_ERROR(err) std::cout<< std::endl<< std::endl << "FATAL ERROR At " __FILE__ ":" << __LINE__ << " : " << err << std::endl<< std::endl

#ifdef FLOAT128_PRECISION
#if BOOST_VERSION<105400
Expand Down
2 changes: 1 addition & 1 deletion lib/base/NDimTable.hpp
Expand Up @@ -179,7 +179,7 @@ std::cerr << "COPY constr.(const NDimTable& other): " << ++ZZ::NDimTable_Instanc
#endif
};
template<typename L> NDimTable(const NDimTable<L>& other)
: parent(other.begin(),other.end()), rank_d(other.rank_d), dim_n(other.dim_n), total(other.total) , dirty(true)
: parent(other.begin(),other.end()), rank_d(other.rank_d), dim_n(other.dim_n), total(other.total), dirty(true)
{
#ifdef DEBUG_NDIM_RAM
std::cerr << "CoPy(!) constr.(const NDimTable<L>&): " << ++ZZ::NDimTable_Instances << "\n";
Expand Down
2 changes: 1 addition & 1 deletion pkg/qm/QMStateDiscrete.hpp
Expand Up @@ -51,7 +51,7 @@ or directly by filling in the discrete values in the table. It is used for numer
, // attributes, public variables
/* FIXME - dubluje się z NDimTable::dim_n */ ((vector<size_t>,gridSize , vector<size_t>({}), Attr::readonly ,"Lattice grid size used to describe the wave function. For FFT purposes that should be a power of 2."))
////////////////////////////// serializacja.......................
((boost::shared_ptr<QMStateDiscreteGlobal>,psiGlobal ,,Attr::hidden," // FIXME - on sam powinien być swoim psiGlobal, a nie tu go trzymać.... "))
((boost::shared_ptr<QMStateDiscreteGlobal>,psiGlobal ,,Attr::readonly," // FIXME - on sam powinien być swoim psiGlobal, a nie tu go trzymać.... "))
((vector<Real> ,spatialSize ,,Attr::readonly," // cannot be public, because it's public in Box←QMGeometry::extents, it is synchronized by St1_QMStateDiscrete "))
((int ,whichPartOfpsiGlobal,,Attr::readonly," // For entangled wavefunctions it says where this wavefunction starts in the entangled tensor "))
, // constructor
Expand Down

0 comments on commit e1fd098

Please sign in to comment.