Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
$NetBSD: patch-src_reduce.cpp,v 1.1 2013/06/13 14:28:38 joerg Exp $
--- src/reduce.cpp.orig 2013-06-12 19:50:00.000000000 +0000
+++ src/reduce.cpp
@@ -68,22 +68,22 @@ extern "C"
SET_VECTOR_ELT( result, 0, allocMatrix( REALSXP, start.size(), 2 ) );
copy(
start.begin(), start.end(),
- std::vector<double>::iterator ( REAL( VECTOR_ELT( result, 0 ) ) )
+ REAL( VECTOR_ELT( result, 0 ) )
);
copy(
end.begin(), end.end(),
- std::vector<double>::iterator ( REAL( VECTOR_ELT( result, 0 ) ) + start.size() )
+ REAL( VECTOR_ELT( result, 0 ) ) + start.size()
);
if ( full_bool ) {
SET_VECTOR_ELT( result, 1, allocMatrix( LGLSXP, start.size(), 2 ) );
copy(
start_c.begin(), start_c.end(),
- std::vector<int>::iterator ( LOGICAL( VECTOR_ELT( result, 1 ) ) )
+ LOGICAL( VECTOR_ELT( result, 1 ) )
);
copy(
end_c.begin(), end_c.end(),
- std::vector<int>::iterator ( LOGICAL( VECTOR_ELT( result, 1 ) ) + start.size() )
+ LOGICAL( VECTOR_ELT( result, 1 ) ) + start.size()
);
}
else {