Skip to content

Commit 49702d9

Browse files
committed
Apple M1 chip
1 parent f833c60 commit 49702d9

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/LibHLA.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ===============================================================
22
//
33
// HIBAG R package (HLA Genotype Imputation with Attribute Bagging)
4-
// Copyright (C) 2011-2021 Xiuwen Zheng (zhengx@u.washington.edu)
4+
// Copyright (C) 2011-2022 Xiuwen Zheng (zhengx@u.washington.edu)
55
// All rights reserved.
66
//
77
// This program is free software: you can redistribute it and/or modify
@@ -1431,7 +1431,14 @@ void CAlg_Prediction::Init_Target_IFunc(const char *cpu)
14311431
#ifdef __FMA__
14321432
cpu_info.append(", FMA");
14331433
#endif
1434+
1435+
#else
1436+
fc_PrepHaploMatch = &CAlg_Prediction::_PrepHaploMatch_def;
1437+
fc_BestGuess = &CAlg_Prediction::_BestGuess_def;
1438+
fc_PostProb = &CAlg_Prediction::_PostProb_def;
1439+
fc_PostProb2 = &CAlg_Prediction::_PostProb2_def;
14341440
#endif
1441+
14351442
HIBAG_CPU_Info = cpu_info;
14361443
need_auxiliary_haplo = need_aux_haplo;
14371444
}

src/LibHLA.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ===============================================================
22
//
33
// HIBAG R package (HLA Genotype Imputation with Attribute Bagging)
4-
// Copyright (C) 2011-2021 Xiuwen Zheng (zhengx@u.washington.edu)
4+
// Copyright (C) 2011-2022 Xiuwen Zheng (zhengx@u.washington.edu)
55
// All rights reserved.
66
//
77
// This program is free software: you can redistribute it and/or modify

0 commit comments

Comments
 (0)