mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-25 23:23:19 +00:00
Protect vs. missing LIME libarary
This commit is contained in:
1 parent
07a07b6fa3
commit
284fc05f15
2 files changed
+4
No files matched your search
@@ -30,11 +30,13 @@ directory
|
||||
#include <string>
|
||||
|
||||
template <class T> void readFile(T& out, std::string const fname){
|
||||
#ifdef HAVE_LIME
|
||||
Grid::emptyUserRecord record;
|
||||
Grid::ScidacReader RD;
|
||||
RD.open(fname);
|
||||
RD.readScidacFieldRecord(out,record);
|
||||
RD.close();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user