esa / esa/pygmo2

Make types uniform in the Python exposition

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
C++
Stars
536
Forks
74
PR merge metrics
No merged PRs in 30d

Description

Some problems/algorithms seem to have an inconsistent python exposition in terms of types.

For instance, in `../src/problems/dtlz.cpp` we have:
```
dtlz::dtlz(unsigned prob_id, vector_double::size_type dim, vector_double::size_type fdim, unsigned alpha)
```
But in the `../pygmo/expose_problems_0.cpp` it is exposed as:
```
dtlz_p.def(bp::init
```
Instead of:
```
dtlz_p.def(bp::init ...
```
A check for all these type consistencies seems thus necessary.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.