summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNightRa <ilan3580@gmail.com>2015-07-18 23:26:53 +0300
committerNightRa <ilan3580@gmail.com>2015-07-18 23:26:53 +0300
commitd0d0e6871518ae0a41fe1edd5d1c7b80e1704058 (patch)
tree9ebc7df6d27aa39918bd05fee9601436e0379723
parenta544e9810ef34b8eb39f7856f500f25fce1cd207 (diff)
Correct names & Add C sources to the .cabal file
-rw-r--r--packages/base/hmatrix.cabal2
-rw-r--r--packages/base/src/Internal/C/vector-aux.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/base/hmatrix.cabal b/packages/base/hmatrix.cabal
index 7b25349..5e4f3ce 100644
--- a/packages/base/hmatrix.cabal
+++ b/packages/base/hmatrix.cabal
@@ -25,6 +25,7 @@ build-type: Simple
25extra-source-files: THANKS.md CHANGELOG 25extra-source-files: THANKS.md CHANGELOG
26 26
27extra-source-files: src/Internal/C/lapack-aux.h 27extra-source-files: src/Internal/C/lapack-aux.h
28 src/C/windows_random_r.h
28 29
29flag openblas 30flag openblas
30 description: Link with OpenBLAS (https://github.com/xianyi/OpenBLAS) optimized libraries. 31 description: Link with OpenBLAS (https://github.com/xianyi/OpenBLAS) optimized libraries.
@@ -77,6 +78,7 @@ library
77 78
78 C-sources: src/Internal/C/lapack-aux.c 79 C-sources: src/Internal/C/lapack-aux.c
79 src/Internal/C/vector-aux.c 80 src/Internal/C/vector-aux.c
81 src/C/windows_random_r.c
80 82
81 83
82 extensions: ForeignFunctionInterface, 84 extensions: ForeignFunctionInterface,
diff --git a/packages/base/src/Internal/C/vector-aux.c b/packages/base/src/Internal/C/vector-aux.c
index b165fab..a370214 100644
--- a/packages/base/src/Internal/C/vector-aux.c
+++ b/packages/base/src/Internal/C/vector-aux.c
@@ -7,7 +7,7 @@ typedef float complex TCF;
7#undef complex 7#undef complex
8 8
9#include "lapack-aux.h" 9#include "lapack-aux.h"
10#include "custom_random_r.h" 10#include "windows_random_r.h"
11 11
12#define V(x) x##n,x##p 12#define V(x) x##n,x##p
13 13