Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper-Free
Commits
d686157f
Commit
d686157f
authored
Oct 24, 2016
by
Jan Möbius
Browse files
Size_t int conversion fixed
parent
4ddcbbe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
ACG/QtWidgets/QtPrincipalAxisDialog.cc
View file @
d686157f
...
@@ -213,7 +213,7 @@ const QtPrincipalAxisDialog::ColorScheme &QtPrincipalAxisDialog::getSelectedColo
...
@@ -213,7 +213,7 @@ const QtPrincipalAxisDialog::ColorScheme &QtPrincipalAxisDialog::getSelectedColo
void
QtPrincipalAxisDialog
::
setColorScheme
(
ColorScheme
cs
)
{
void
QtPrincipalAxisDialog
::
setColorScheme
(
ColorScheme
cs
)
{
float
best_match
=
std
::
numeric_limits
<
float
>::
infinity
();
float
best_match
=
std
::
numeric_limits
<
float
>::
infinity
();
in
t
best_match_i
=
-
1
;
size_
t
best_match_i
=
std
::
numeric_limits
<
size_t
>::
max
()
;
for
(
size_t
i
=
0
;
i
<
N_COLOR_SCHEMES
;
++
i
)
{
for
(
size_t
i
=
0
;
i
<
N_COLOR_SCHEMES
;
++
i
)
{
float
match
=
colorSchemeDistance
(
cs
,
color_schemes_
[
i
]);
float
match
=
colorSchemeDistance
(
cs
,
color_schemes_
[
i
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment