Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Hurstel
CGoGN
Commits
7677a0f3
Commit
7677a0f3
authored
Jun 15, 2012
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update compilation windows
parent
cabcccf8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
include/Algo/Histogram/histogram.h
include/Algo/Histogram/histogram.h
+4
-0
src/Algo/Histogram/histogram.cpp
src/Algo/Histogram/histogram.cpp
+1
-1
No files found.
include/Algo/Histogram/histogram.h
View file @
7677a0f3
...
@@ -25,6 +25,10 @@
...
@@ -25,6 +25,10 @@
#ifndef __HISTOGRAM__
#ifndef __HISTOGRAM__
#define __HISTOGRAM__
#define __HISTOGRAM__
#define _USE_MATH_DEFINES
#include <cmath>
#include "Topology/generic/attributeHandler.h"
#include "Topology/generic/attributeHandler.h"
#include "Topology/generic/cellmarker.h"
#include "Topology/generic/cellmarker.h"
#include "Geometry/vector_gen.h"
#include "Geometry/vector_gen.h"
...
...
src/Algo/Histogram/histogram.cpp
View file @
7677a0f3
...
@@ -60,7 +60,7 @@ void Histogram::populateHisto(unsigned int nbclasses)
...
@@ -60,7 +60,7 @@ void Histogram::populateHisto(unsigned int nbclasses)
{
{
//compute nb classes if necesary
//compute nb classes if necesary
if
(
nbclasses
==
0
)
if
(
nbclasses
==
0
)
m_nbclasses
=
(
unsigned
int
)(
sqrt
(
m_dataIdx
.
size
()));
m_nbclasses
=
(
unsigned
int
)(
sqrt
(
double
(
m_dataIdx
.
size
()))
)
;
else
else
m_nbclasses
=
nbclasses
;
m_nbclasses
=
nbclasses
;
...
...
Write
Preview
Markdown
is supported
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