Skip to content

Commit

Permalink
fix -Wvla
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengxwen committed Apr 11, 2024
1 parent 07ed2d0 commit 0996a58
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Package: SNPRelate
Type: Package
Title: Parallel Computing Toolset for Relatedness and Principal Component
Analysis of SNP Data
Version: 1.37.2
Date: 2024-03-26
Version: 1.37.5
Date: 2024-04-11
Depends: R (>= 2.15), gdsfmt (>= 1.8.3)
LinkingTo: gdsfmt
Imports: methods
Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CHANGES IN VERSION 1.37.2
CHANGES IN VERSION 1.37.4
-------------------------

UTILITIES
Expand Down
4 changes: 2 additions & 2 deletions src/genLD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,8 @@ namespace LD
static void Entry_LD_SlideMat(PdThread Thread, int ThreadIndex, void *Param)
{
TParam_LD_SlideMat *pm = (TParam_LD_SlideMat*)Param;
C_Int64 StartIndex[pm->Num_Thread];
Array_SplitJobs(pm->Num_Thread, pm->TotalCount, StartIndex,
vector<C_Int64> StartIndex(pm->Num_Thread);
Array_SplitJobs(pm->Num_Thread, pm->TotalCount, &StartIndex[0],
Array_Thread_MatCnt);

// starting point
Expand Down

0 comments on commit 0996a58

Please sign in to comment.