- Timestamp:
- Aug 16, 2018, 8:00:56 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/prototype-v0/zoo-project/zoo-kernel/service_internal_r.c
r873 r877 379 379 int istatus; 380 380 char* cstatus=NULL; 381 if (!isInteger(status) ){381 if (!isInteger(status) && !isReal(status)){ 382 382 #ifdef DEBUG 383 383 fprintf(stderr,"Incorrect arguments to update status function"); … … 385 385 return R_NilValue; 386 386 } 387 istatus=asInteger(status); 387 if(isInteger(status)) 388 istatus=asInteger(status); 389 else 390 istatus=asReal(status); 388 391 if (istatus < 0 || istatus > 100){ 389 392 return R_NilValue;
Note: See TracChangeset
for help on using the changeset viewer.