Loading src/AllocatorCpu.h +4 −3 Original line number Diff line number Diff line Loading @@ -33,14 +33,15 @@ Please see full open source license included in file LICENSE. #include <sstream> #include <type_traits> #include <cctype> #include <cstdint> #ifdef USE_CUSTOM_ALLOCATOR #include "MemoryCpu.h" #endif #ifdef USE_LONG typedef size_t SizeType; #ifndef USE_SHORT typedef uint64_t SizeType; #else typedef unsigned int SizeType; typedef uint32_t SizeType; #endif namespace PsimagLite { Loading src/PsimagLite.h +1 −1 Original line number Diff line number Diff line Loading @@ -113,7 +113,7 @@ private: void chekSizeType() { if (sizeof(SizeType) == libSizeOfSizeType_) return; std::string msg("PsimagLite compiled with -DUSE_LONG but"); std::string msg("PsimagLite compiled with -DUSE_SHORT but"); msg += "application without. Or viceversa.\n"; throw std::runtime_error(msg); } Loading Loading
src/AllocatorCpu.h +4 −3 Original line number Diff line number Diff line Loading @@ -33,14 +33,15 @@ Please see full open source license included in file LICENSE. #include <sstream> #include <type_traits> #include <cctype> #include <cstdint> #ifdef USE_CUSTOM_ALLOCATOR #include "MemoryCpu.h" #endif #ifdef USE_LONG typedef size_t SizeType; #ifndef USE_SHORT typedef uint64_t SizeType; #else typedef unsigned int SizeType; typedef uint32_t SizeType; #endif namespace PsimagLite { Loading
src/PsimagLite.h +1 −1 Original line number Diff line number Diff line Loading @@ -113,7 +113,7 @@ private: void chekSizeType() { if (sizeof(SizeType) == libSizeOfSizeType_) return; std::string msg("PsimagLite compiled with -DUSE_LONG but"); std::string msg("PsimagLite compiled with -DUSE_SHORT but"); msg += "application without. Or viceversa.\n"; throw std::runtime_error(msg); } Loading