File: cma.py

package info (click to toggle)
python-cmaes 0.11.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 408 kB
  • sloc: python: 3,115; sh: 88; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 211 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
import warnings

from ._cma import CMA

__all__ = ["CMA"]

warnings.warn(
    "This module is deprecated. Please import CMA class from the "
    "package root (ex: from cmaes import CMA).",
    FutureWarning,
)