From: Axel R. <ro...@us...> - 2014-09-24 14:09:21
|
Update of /cvsroot/sdif/Easdif/easdif In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv11792 Modified Files: sdif_matrix.hpp Log Message: Fixed reading text stored i a column for text matrices. Index: sdif_matrix.hpp =================================================================== RCS file: /cvsroot/sdif/Easdif/easdif/sdif_matrix.hpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** sdif_matrix.hpp 23 May 2014 10:23:46 -0000 1.11 --- sdif_matrix.hpp 24 Sep 2014 14:09:19 -0000 1.12 *************** *** 37,40 **** --- 37,43 ---- * * $Log$ + * Revision 1.12 2014/09/24 14:09:19 roebel + * Fixed reading text stored i a column for text matrices. + * * Revision 1.11 2014/05/23 10:23:46 roebel * Added throw specifications. *************** *** 615,619 **** 0,eUnknown,0,0); ! for(int ii=0;ii<GetNbRows();++ii) value.append(1,static_cast<char>(GetInt(ii,0))); --- 618,623 ---- 0,eUnknown,0,0); ! // garcefully handle errors where text is stored as a row and not as a column. ! for(int ii=0;ii<GetNbRows()*GetNbCols();++ii) value.append(1,static_cast<char>(GetInt(ii,0))); |