Skip to content

Commit

Permalink
BUG: should not set seed there
Browse files Browse the repository at this point in the history
  • Loading branch information
stnava committed Oct 7, 2020
1 parent 7fb5106 commit ed15296
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: ANTsR
Type: Package
Title: ANTs in R: Quantification Tools for Biomedical Images
Version: 0.5.6.9
Version: 0.5.7.0
Date: 2020-05-20
Authors@R: c(
person(c("Brian", "B"), "Avants", role = c("aut", "cre"), email = "[email protected]"),
Expand Down
2 changes: 1 addition & 1 deletion R/multiscaleSVDxpts.R
Original file line number Diff line number Diff line change
Expand Up @@ -2701,7 +2701,7 @@ simlr <- function(
if ( missing( energyType ) ) energyType = "regression"
if ( missing( mixAlg ) ) mixAlg = "ica"
if ( missing( optimizationStyle ) ) optimizationStyle = "lineSearch"
if ( ! missing( "randomSeed" ) ) set.seed( randomSeed ) else set.seed( 0 )
if ( ! missing( "randomSeed" ) ) set.seed( randomSeed )
energyType = match.arg(energyType)
constraint = match.arg(constraint)
optimizationStyle = match.arg(optimizationStyle)
Expand Down

0 comments on commit ed15296

Please sign in to comment.