Skip to content

Commit 5956e2b

Browse files
committed
style(R): lint (did re-ran all rmarkdown too, but no changes in results :) )
1 parent 94760bf commit 5956e2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/choose_replications.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ ReplicationsAlgorithm <- R6Class("ReplicationsAlgorithm", list( # nolint: object
458458
# Use find_position() to check for solution in initial replications
459459
adj_nreps <- self$find_position(as.list(observers[[metric]]$deviation))
460460
# If there was a maintained solution, replace in solutions
461-
if (!is.null(adj_nreps) && !is.na(solutions[[metric]]$nreps)){
461+
if (!is.null(adj_nreps) && !is.na(solutions[[metric]]$nreps)) {
462462
solutions[[metric]]$nreps <- adj_nreps
463463
}
464464
}

0 commit comments

Comments
 (0)