Skip to content

Commit

Permalink
typo luminosity
Browse files Browse the repository at this point in the history
  • Loading branch information
gywn committed Nov 29, 2017
1 parent 1852450 commit 4892c3e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions include/color.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ inline LAB LCHtoLAB(const LCH &lch) {
}

// @param T temperature in Kelvin 4000 < T < 25000
// @param y luminocity in XYZ
// @param y luminosity in XYZ
XYZ IlluminantDKelvin(double T, double y);

// @param cx chromaticity x in xyY
// @param y luminocity in XYZ
// @param y luminosity in XYZ
XYZ IlluminantDChromaticity(double cx, double y);

} // namespace color
Expand Down
2 changes: 1 addition & 1 deletion include/fitness.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ std::ostream &operator<<(std::ostream &os, const PerceptionResult &res);

/*
* @param M numbers of free colors
* @param L luminocity constraint, < 0 to be ignored
* @param L luminosity constraint, < 0 to be ignored
* @param maxC maximal chroma, < 0 to be ignored
* @param fixed vector of fixed colors, optional
* @param quiet don't write info to stdout
Expand Down
8 changes: 4 additions & 4 deletions python/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def argparser():
dest='Lf',
metavar='Lf',
type=float,
help='foreground luminocity between 0 < Lf < 100')
help='foreground luminosity between 0 < Lf < 100')
ps.add_argument(
'-b',
'--background',
Expand All @@ -41,16 +41,16 @@ def argparser():
dest='Lb',
metavar='Lb',
type=float,
help='background luminocity 0 < Lb < 100')
help='background luminosity 0 < Lb < 100')
ps.add_argument(
'-L',
'--palette-luminocity',
'--palette-luminosity',
'--L3',
default=-1,
dest='L3',
metavar='L3',
type=float,
help='main palette luminocity 0 < L3 < 100')
help='main palette luminosity 0 < L3 < 100')
ps.add_argument(
'--maxC',
default=-1,
Expand Down
2 changes: 1 addition & 1 deletion python/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.1'
__version__ = '0.0.2'
4 changes: 2 additions & 2 deletions src/python.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static PyMethodDef methods[] = {
"--------------------------------------\n"
"\n"
"@param M number of colors\n"
"@param L=-1 luminocity, < 0 for no constraint\n"
"@param L=-1 luminosity, < 0 for no constraint\n"
"@param maxC=-1 maximal chroma, < 0 for no constraint\n"
"@param fixed=None iterable of (l, a, b)\n"
"@param quiet=False print messages to stdout"},
Expand Down Expand Up @@ -217,7 +217,7 @@ static PyMethodDef methods[] = {
"----------------------\n"
"\n"
"@param T temperature in Kelvin, 4000 < T < 25000\n"
"@param L luminocity in LAB"},
"@param L luminosity in LAB"},

{nullptr, nullptr, 0, nullptr}};

Expand Down

0 comments on commit 4892c3e

Please sign in to comment.