* fixed type of mwIndex and mwSize: int instead of unsigned int
* removed extra line in build.m


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1883 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
sebastien 2008-06-19 13:12:41 +00:00
parent 2dab221499
commit 5ae83c57b8
3 changed files with 4 additions and 5 deletions

View File

@ -24,7 +24,6 @@ if strcmpi('GLNX86', computer) || strcmpi('GLNXA64', computer) ...
LAPACK_PATH = '-lmwlapack';
if VERSION <= 7.4
BLAS_PATH = LAPACK_PATH; % On <= 7.4, BLAS in included in LAPACK
COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -DNO_BLAS_H' ];
COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -DMWTYPES_NOT_DEFINED -DNO_BLAS_H' ];
else
BLAS_PATH = '-lmwblas';

View File

@ -12,8 +12,8 @@
#include "matrix.h"
#ifdef MWTYPES_NOT_DEFINED
typedef unsigned int mwIndex;
typedef unsigned int mwSize;
typedef int mwIndex;
typedef int mwSize;
#endif
#ifdef NO_BLAS_H

View File

@ -13,8 +13,8 @@
#include "mex.h"
#ifdef MWTYPES_NOT_DEFINED
typedef unsigned int mwIndex;
typedef unsigned int mwSize;
typedef int mwIndex;
typedef int mwSize;
#endif
void sparse_hessian_times_B_kronecker_B(mwIndex *isparseA, mwIndex *jsparseA, double *vsparseA,