Skip to content

Commit 14e1cdf

Browse files
committed
spelling: consistency
Signed-off-by: Josh Soref <[email protected]>
1 parent 3bb21fa commit 14e1cdf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/radius_clustering/utils/main-emos.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ static inline int insert_cur_node(int node){
330330

331331

332332

333-
static void test_iset_consistance(){
333+
static void test_iset_consistency(){
334334
for(int j=0;j<MAXIS;j++){
335335
if(USED(iSET[j])==0)
336336
break;
@@ -992,7 +992,7 @@ void search_domset(){
992992
#endif
993993
while(CUR_LEVEL>=0){
994994
#if CHECK
995-
check_consistance();
995+
check_consistency();
996996
#endif
997997
if((bnode=CUR_BRA_NODE)!=NONE){
998998
rollback_branch_node(bnode);
@@ -1070,7 +1070,7 @@ void search_domset(){
10701070
}
10711071
#endif
10721072
#ifdef CHECK
1073-
test_iset_consistance();
1073+
test_iset_consistency();
10741074
#endif
10751075
#else
10761076
for(int i=SUB_PROBLEM_SIZE-1;i>=CUR_UND_IDX;i--){
@@ -1456,7 +1456,7 @@ void check_and_save_solution(){
14561456
}
14571457
}
14581458

1459-
void check_consistance(){
1459+
void check_consistency(){
14601460

14611461
for(int i=0;i<SUB_PROBLEM_SIZE;i++){
14621462
assert(CFG[i]>=1 && CFG[i]<=NB_NODE);
@@ -1493,7 +1493,7 @@ void check_consistance(){
14931493
assert(LOC[neibor]<CUR_UND_IDX);
14941494
}
14951495
}
1496-
// printf("pass consistance checking at level %d ...\n",CUR_LEVEL);
1496+
// printf("pass consistency checking at level %d ...\n",CUR_LEVEL);
14971497
fflush(stdout);
14981498
}
14991499

src/radius_clustering/utils/mds3-util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ static inline void reduce_graph(){
563563
extern void check_final_solution();
564564
extern void update_best_solution();
565565
extern void check_and_save_solution();
566-
extern void check_consistance();
566+
extern void check_consistency();
567567
extern void cleanup();
568568
extern int max_dominated_number();
569569
extern int select_branching_node();

0 commit comments

Comments
 (0)