Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mb706 committed Apr 5, 2019
1 parent 3847a05 commit 813c0fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/plotting.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ paretoEdges <- function(fitness, refpoint) {
front <- fitness[, nondominated(fitness), drop = FALSE]
front <- front[, order(front[1, ]), drop = FALSE]
frontpoints <- sapply(seq_len(ncol(front) * 2 - 1) + 1, function(twicecol) {
pmax(front[, floor(twicecol / 2)],
front[, ceiling(twicecol / 2)])
pmax(front[, floor(twicecol / 2), drop = FALSE],
front[, ceiling(twicecol / 2), drop = FALSE])
})

resmat <- cbind(c(front[1, 1], refpoint[2]),
Expand Down
2 changes: 1 addition & 1 deletion experiments/testmm.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
export RNG=$1
sleep 9999999
Rscript - > "/projects/user/mosmafstraces/run_${RNG}.out" 2>&1 <<EOF
options(warn = 1)
suppressMessages({
Expand Down

0 comments on commit 813c0fe

Please sign in to comment.