[rkward-cvs] rkward/rkward/core rkvariable.cpp,1.32,1.33
Thomas Friedrichsmeier
tfry at users.sourceforge.net
Mon Jun 19 20:04:33 UTC 2006
- Previous message: [rkward-cvs] rkward/rkward/rbackend rembedinternal.cpp,1.41,1.42
- Next message: [rkward-cvs] rkward ChangeLog, 1.132, 1.133 TODO, 1.124, 1.125 configure, 1.45, 1.46 configure.in, 1.36, 1.37 configure.in.in, 1.17, 1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/rkward/rkward/rkward/core
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv17490/core
Modified Files:
rkvariable.cpp
Log Message:
Simplify parsing, initialize na_double after R has started
Index: rkvariable.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/core/rkvariable.cpp,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** rkvariable.cpp 20 Apr 2006 10:46:33 -0000 1.32
--- rkvariable.cpp 19 Jun 2006 20:04:30 -0000 1.33
***************
*** 19,22 ****
--- 19,23 ----
#include <qstringlist.h>
#include "float.h"
+ #include "math.h"
#include "rcontainerobject.h"
***************
*** 582,586 ****
for (int row=from_row; row <= to_row; ++row) {
deleteStringData (row);
! if (data[i] == RKGlobals::na_double) myData ()->cell_string_data[row] = RKGlobals::empty_char;
myData ()->cell_double_data[row] = data[i++];
}
--- 583,587 ----
for (int row=from_row; row <= to_row; ++row) {
deleteStringData (row);
! if (isnan (data[i])) myData ()->cell_string_data[row] = RKGlobals::empty_char;
myData ()->cell_double_data[row] = data[i++];
}
- Previous message: [rkward-cvs] rkward/rkward/rbackend rembedinternal.cpp,1.41,1.42
- Next message: [rkward-cvs] rkward ChangeLog, 1.132, 1.133 TODO, 1.124, 1.125 configure, 1.45, 1.46 configure.in, 1.36, 1.37 configure.in.in, 1.17, 1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the rkward-tracker
mailing list