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
Sylvain Jasson
amap
Commits
3437feb9
Commit
3437feb9
authored
Nov 08, 2011
by
Antoine Lucas
Browse files
WIN32 define instead of MINGW
parent
f5a22705
Changes
3
Hide whitespace changes
Inline
Side-by-side
Changes
View file @
3437feb9
Sun
Nov
06
2011
:
0.8
-
6
*
fix
distances
pearson
and
correlation
(
problem
with
vector
0
,
0
,
0.
..)
*
add
new
distances
:
absolute
pearson
,
absolute
correlation
*
add
new
link
"centroid2"
Fri
Oct
23
2009
:
0.8
-
4
*
minor
bug
fix
...
...
DESCRIPTION
View file @
3437feb9
Package: amap
Version: 0.8-
6
Date: 2010-11-0
6
Version: 0.8-
7
Date: 2010-11-0
7
Suggests: Biobase
Title: Another Multidimensional Analysis Package
Author: Antoine Lucas
...
...
src/distance_T.cpp
View file @
3437feb9
...
...
@@ -2,7 +2,7 @@
* \brief all functions requiered for R dist function and C hcluster function.
*
* \date Created: probably in 1995
* \date Last modified: Time-stamp: <2011-11-0
4
2
2
:0
5:55
antoine>
* \date Last modified: Time-stamp: <2011-11-0
8
2
1
:0
6:41
antoine>
*
* \author R core members, and lately: Antoine Lucas
*
...
...
@@ -46,7 +46,7 @@
#include <R_ext/Error.h>
#include <limits>
#ifndef
__MINGW_H
#ifndef
WIN32
#include <pthread.h>
#endif
...
...
@@ -765,7 +765,7 @@ template<class T> void distance_T<T>::distance(double *x, int *nr,
res = 0 => missings values */
#ifndef
__MINGW_H
#ifndef
WIN32
pthread_t
*
th
=
(
pthread_t
*
)
malloc
(
*
nbprocess
*
sizeof
(
pthread_t
));
for
(
i
=
0
;
i
<
*
nbprocess
;
i
++
)
...
...
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