[cig-commits] [commit] master: Error handling (9fc6ab6)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Dec 10 10:00:44 PST 2014
Repository : https://github.com/geodynamics/vq
On branch : master
Link : https://github.com/geodynamics/vq/compare/4d339b3a383b69e1552cfeef4ca20868a1377289...d0edc6ddd56f9105f6d2488db4a9f36368529695
>---------------------------------------------------------------
commit 9fc6ab6f411f01e2f9e940ce3c1923273e76031a
Author: Eric Heien <emheien at ucdavis.edu>
Date: Thu Dec 4 13:50:43 2014 -0800
Error handling
>---------------------------------------------------------------
9fc6ab6f411f01e2f9e940ce3c1923273e76031a
src/misc/GreensFunctions.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/misc/GreensFunctions.cpp b/src/misc/GreensFunctions.cpp
index 4b036ab..0352e4e 100644
--- a/src/misc/GreensFunctions.cpp
+++ b/src/misc/GreensFunctions.cpp
@@ -162,6 +162,8 @@ void GreensFuncFileParse::CalculateGreens(Simulation *sim) {
delete greens_file_reader;
delete in_shear_green;
delete in_normal_green;
+#else
+ assertThrow(false, "HDF5 is required to use Greens function file I/O.");
#endif
}
More information about the CIG-COMMITS
mailing list