summaryrefslogtreecommitdiffstats
path: root/include/astra/Globals.h
diff options
context:
space:
mode:
authorDaniel M. Pelt <D.M.Pelt@cwi.nl>2015-07-17 16:22:05 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-07-23 11:57:17 +0200
commit3d136b7c819b0b142ad056bf01c8c1191eea9ba0 (patch)
treec94bdf6cb861c3e2570e7e2437a30c58513e3780 /include/astra/Globals.h
parent2f871bc7068d6c87a7d950ae044ba66b0b8dcd3f (diff)
downloadastra-3d136b7c819b0b142ad056bf01c8c1191eea9ba0.tar.gz
astra-3d136b7c819b0b142ad056bf01c8c1191eea9ba0.tar.bz2
astra-3d136b7c819b0b142ad056bf01c8c1191eea9ba0.tar.xz
astra-3d136b7c819b0b142ad056bf01c8c1191eea9ba0.zip
Fix numpy lapack loading when running in Matlab
Diffstat (limited to 'include/astra/Globals.h')
-rw-r--r--include/astra/Globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/astra/Globals.h b/include/astra/Globals.h
index 4de07d1..dc2d7e6 100644
--- a/include/astra/Globals.h
+++ b/include/astra/Globals.h
@@ -146,6 +146,8 @@ namespace astra {
const float32 PIdiv2 = PI / 2;
const float32 PIdiv4 = PI / 4;
const float32 eps = 1e-7f;
+
+ extern bool running_in_matlab;
}
//----------------------------------------------------------------------------------------