Skip to content

Commit

Permalink
fixing plot function
Browse files Browse the repository at this point in the history
  • Loading branch information
mb706 committed Apr 5, 2019
1 parent 55be3ff commit 09487b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/plotting.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#' @export
paretoEdges <- function(fitness, refpoint) {
fitness <- as.matrix(t(fitness))
front <- fitness # TODO see line below
if (ncol(fitness) > 1) # TODO: can go when https://github.com/jakobbossek/ecr2/issues/120 is fixed
front <- fitness[, nondominated(fitness), drop = FALSE]
front <- front[, order(front[1, ]), drop = FALSE]
Expand Down

0 comments on commit 09487b8

Please sign in to comment.