~ubuntu-branches/ubuntu/utopic/r-cran-genabel/utopic

« back to all changes in this revision

Viewing changes to src/iterator.cpp

  • Committer: Package Import Robot
  • Author(s): Andreas Tille, Charles Plessy, Andreas Tille
  • Date: 2014-08-07 17:30:04 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20140807173004-24c20tmrw61yl5dz
Tags: 1.8-0-1
[ Charles Plessy ]
* debian/control: removed myself from Uploaders.

[ Andreas Tille ]
* New upstream version
* Moved debian/upstream to debian/upstream/metadata
* cme fix dpkg-control
* More detailed copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#include <cstdarg>
2
 
#include "Rstaff.h"
 
2
#include "Rstuff.h"
3
3
#include "iterator_functions.h"
4
4
#include "iterator.h"
5
5
#include "gwaa_cpp.h"
247
247
                if (argList == NULL) {error_R("can not allocate RAM for argList\n");return R_NilValue;}
248
248
                va_list ap;
249
249
                va_start(ap, nrarg); // nrarg is last known parameter
250
 
                for (unsigned register int i = 0; i < narg; i++) {
 
250
                for (unsigned int i = 0; i < narg; i++) {
251
251
                        argList[i] = va_arg(ap, SEXP);
252
252
                }
253
253
                va_end(ap);
265
265
 
266
266
                if ((ncol % step) != 0) {
267
267
                        error_R("ncol not divisable by step\n");
 
268
                        delete [] argList;
268
269
                        return R_NilValue;
269
270
                }
270
271
 
409
410
 
410
411
        /**
411
412
        // OLD STUFF BELOW HERE:
412
 
        // iterator and other staff
 
413
        // iterator and other stuff
413
414
        SEXP databel_impute_prob_2_databel_mach_dose(SEXP imputedata, SEXP OutFileName, SEXP CacheSizeMb)
414
415
        {
415
416
                CHECK_PTR(imputedata);