Skip to content

Commit

Permalink
Is this the problem because it is not building under windows??? only …
Browse files Browse the repository at this point in the history
…time will tell us
  • Loading branch information
lorenzo-consoli committed Nov 22, 2023
1 parent 0f75e39 commit d1fae99
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions code-experiments/build/python/src/cocoex/function.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ cdef extern from 'coco.h':
# add a declaration to the generated source files.
cdef extern coco_problem_t *coco_get_bbob_problem(size_t function, size_t
dimension, size_t instance)
cdef extern double coco_problem_get_best_value(coco_problem_t *p)


cdef class BenchmarkFunction:
Expand Down Expand Up @@ -105,10 +104,6 @@ cdef class BenchmarkFunction:
if self._problem != NULL:
coco_problem_free(self._problem)

def best_value(self):
"""Return the best (lowest) possible function value"""
return coco_problem_get_best_value(self._problem)

def __str__(self):
return self.id

Expand Down

0 comments on commit d1fae99

Please sign in to comment.