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
f56bd719
Commit
f56bd719
authored
Jan 21, 2010
by
Antoine Lucas
Browse files
MING replaced by WIN32
parent
fa08d8b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
f56bd719
Package: amap
Package: amap
Version: 0.8-
4
Version: 0.8-
5
Date: 20
09-05-18
Date: 20
10-01-21
Suggests: Biobase
Suggests: Biobase
Title: Another Multidimensional Analysis Package
Title: Another Multidimensional Analysis Package
Author: Antoine Lucas
Author: Antoine Lucas
...
...
src/distance_T.cpp
View file @
f56bd719
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* \brief all functions requiered for R dist function and C hcluster function.
* \brief all functions requiered for R dist function and C hcluster function.
*
*
* \date Created: probably in 1995
* \date Created: probably in 1995
* \date Last modified: Time-stamp: <20
07-
10-0
3 20:05:41
antoine>
* \date Last modified: Time-stamp: <2010-0
1-21 18:42:14
antoine>
*
*
* \author R core members, and lately: Antoine Lucas
* \author R core members, and lately: Antoine Lucas
*
*
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
#include <R_ext/Error.h>
#include <R_ext/Error.h>
#include <limits>
#include <limits>
#ifndef
__MINGW_H
#ifndef
WIN32
#include <pthread.h>
#include <pthread.h>
#endif
#endif
...
@@ -682,7 +682,7 @@ template<class T> void distance_T<T>::distance(double *x, int *nr,
...
@@ -682,7 +682,7 @@ template<class T> void distance_T<T>::distance(double *x, int *nr,
res = 0 => missings values */
res = 0 => missings values */
#ifndef
__MINGW_H
#ifndef
WIN32
pthread_t
*
th
=
(
pthread_t
*
)
malloc
(
*
nbprocess
*
sizeof
(
pthread_t
));
pthread_t
*
th
=
(
pthread_t
*
)
malloc
(
*
nbprocess
*
sizeof
(
pthread_t
));
for
(
i
=
0
;
i
<
*
nbprocess
;
i
++
)
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