We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ec267a commit 6691c5fCopy full SHA for 6691c5f
inst/include/Rcpp/Dimension.h
@@ -40,16 +40,16 @@ namespace Rcpp{
40
return *this ;
41
}
42
Dimension(const size_t& n1) : dims(1){
43
- dims[0] = n1 ;
+ dims[0] = static_cast<int>(n1) ;
44
45
Dimension(const size_t& n1, const size_t& n2) : dims(2){
46
47
- dims[1] = n2 ;
+ dims[1] = static_cast<int>(n2) ;
48
49
Dimension(const size_t& n1, const size_t& n2, const size_t& n3) : dims(3){
50
51
52
- dims[2] = n3 ;
+ dims[2] = static_cast<int>(n3) ;
53
54
operator SEXP() const ;
55
0 commit comments