Skip to content

Commit 9ddcb48

Browse files
committed
Matlab code builds
1 parent 1393500 commit 9ddcb48

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

src/Core/Datatypes/SparseRowMatrix.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ namespace Datatypes {
104104

105105
const index_type* get_rows() const { return this->outerIndexPtr(); }
106106
const index_type* get_cols() const { return this->innerIndexPtr(); }
107+
index_type* get_rows() { return this->outerIndexPtr(); }
108+
index_type* get_cols() { return this->innerIndexPtr(); }
109+
107110

108111
virtual void accept(MatrixVisitorGeneric<T>& visitor)
109112
{

src/Core/Matlab/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ ADD_LIBRARY(Core_Matlab ${Core_Matlab_SRCS} ${Core_Matlab_HEADERS})
5656

5757
TARGET_LINK_LIBRARIES(Core_Matlab
5858
Core_Datatypes
59+
Core_Datatypes_Legacy_Field
60+
Core_Datatypes_Legacy_Nrrd
5961
#Core_Exceptions
6062
#Core_Thread
6163
Core_Geometry_Primitives

src/Core/Matlab/matfiledata.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ void matfiledata::getdata(void *dataptr,int dbytesize) const
296296
}
297297

298298

299-
void matfiledata::putdata(void *dataptr,int dbytesize,mitype type)
299+
void matfiledata::putdata(const void *dataptr,int dbytesize,mitype type)
300300
{
301301
clear();
302302
if (dataptr == 0) return;

src/Modules/Legacy/Matlab/DataIO/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ TARGET_LINK_LIBRARIES(Modules_Legacy_Matlab_DataIO
5656
#Dataflow_TkExtensions
5757
Dataflow_Network
5858
#Core_XMLUtil
59-
#Core_Matlab
59+
Core_Matlab
6060
#Core_Services
6161
#Core_ICom
6262
#Core_SystemCall
63-
${SCI_TEEM_LIBRARY}
64-
${SCI_ZLIB_LIBRARY}
63+
#${SCI_TEEM_LIBRARY}
64+
#${SCI_ZLIB_LIBRARY}
6565
#${M_LIBRARY}
6666
#${TK_LIBRARY}
6767
#${GL_LIBRARY}

0 commit comments

Comments
 (0)