Skip to content

Commit

Permalink
Fix CRAN warning (Issue #104)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbroman committed Nov 27, 2023
1 parent 832f9da commit f895ea5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: qtl
Version: 1.62
Date: 2023-11-17
Version: 1.64
Date: 2023-11-27
Title: Tools for Analyzing QTL Experiments
Author: Karl W Broman <broman@wisc.edu> and Hao Wu, with
ideas from Gary Churchill and Saunak Sen and contributions from
Expand Down
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Revision history for the R/qtl package

## Version 1.64, 2023-11-27

### Bug fixes

- Fixed problem in a call to Rprintf() in C++ code, identified by CRAN.
(Issue #104.)


## Version 1.62, 2023-11-17

### Bug fixes
Expand Down
4 changes: 2 additions & 2 deletions src/mqmaugment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* mqmaugment.cpp
*
* Copyright (c) 1996-2011 by
* Copyright (c) 1996-2023 by
* Ritsert C Jansen, Danny Arends, Pjotr Prins and Karl W Broman
*
* initial MQM C code written between 1996-2002 by Ritsert C. Jansen
Expand Down Expand Up @@ -241,7 +241,7 @@ int mqmaugmentfull(MQMMarkerMatrix* markers,int* nind, int* augmentednind, ivect
(*augmentednind)=(*augmentednind)+(numimputations*current_leftover_ind);
(*nind)= (*nind)+(current_leftover_ind);
debug_trace("nind:%d,naugmented:%d",(*nind)+(current_leftover_ind),(*augmentednind)+(current_leftover_ind));
Rprintf("INFO: VALGRIND MEMORY DEBUG BARRIERE TRIGGERED\n", "");
Rprintf("INFO: VALGRIND MEMORY DEBUG BARRIERE TRIGGERED\n");
}else{
if(ind_still_left && augment_strategy == 3){
if(verbose) Rprintf("INFO: Dropping %d individuals from further analysis\n",ind_still_left);
Expand Down

0 comments on commit f895ea5

Please sign in to comment.