Mercurial > octave
diff liboctave/array/CSparse.cc @ 21219:ddf0a5f3a967
split interface and implementation for dmsolve
* sparse-dmsolve.h: New file. Provide dmsolve declaration only.
* liboctave/numeric/module.mk: Update.
* sparse-dmsolve.cc: Explicitly instantiate template types we need.
* CSparse.cc, dSparse.cc: Include sparse-dmsolve.h instead of
sparse-dmsolve.cc.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 07 Feb 2016 14:06:43 -0500 |
parents | f7121e111991 |
children | a83e7a384ee0 |
line wrap: on
line diff
--- a/liboctave/array/CSparse.cc Sun Feb 07 13:19:04 2016 -0500 +++ b/liboctave/array/CSparse.cc Sun Feb 07 14:06:43 2016 -0500 @@ -66,8 +66,8 @@ // Define whether to use a basic QR solver or one that uses a Dulmange // Mendelsohn factorization to seperate the problem into under-determined, // well-determined and over-determined parts and solves them seperately -#ifndef USE_QRSOLVE -# include "sparse-dmsolve.cc" +#if ! defined (USE_QRSOLVE) +# include "sparse-dmsolve.h" #endif // Fortran functions we call.