Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/sphinx/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The pagmo C++ library has the following **mandatory** dependencies:

Additionally, pagmo has the following **optional** dependencies:

* `Eigen3 <http://eigen.tuxfamily.org/index.php?title=Main_Page>`__ (which is required
* `Eigen3 <https://libeigen.gitlab.io/>`__ (which is required
by some algorithms, e.g., :cpp:class:`pagmo::cmaes`), version 3.3 or later,
* `NLopt <https://nlopt.readthedocs.io/en/latest/>`__ (which is required by
the :cpp:class:`pagmo::nlopt` wrapper), version 2.6 or later,
Expand Down Expand Up @@ -159,7 +159,7 @@ The following options are currently recognised by pagmo’s build system:
* ``PAGMO_BUILD_TESTS``: build the test suite (defaults to ``OFF``),
* ``PAGMO_BUILD_TUTORIALS``: build the C++
:ref:`tutorials <tutorial>` (defaults to ``OFF``),
* ``PAGMO_WITH_EIGEN3``: enable features depending on `Eigen3 <http://eigen.tuxfamily.org/index.php?title=Main_Page>`__
* ``PAGMO_WITH_EIGEN3``: enable features depending on `Eigen3 <https://libeigen.gitlab.io/>`__
(defaults to ``OFF``),
* ``PAGMO_WITH_NLOPT``: enable the `NLopt <https://nlopt.readthedocs.io/en/latest/>`__
wrappers (defaults to ``OFF``),
Expand Down
2 changes: 1 addition & 1 deletion include/pagmo/island.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ struct PAGMO_DLL_PUBLIC_INLINE_CLASS isl_inner final : isl_inner_base {
}
void *get_ptr() final
{
return &m_value;
return const_cast<void *>(reinterpret_cast<const void *>(&m_value));
}

private:
Expand Down
Loading