Skip to content

Commit 8f7d29e

Browse files
authored
Merge pull request FABLE-3DXRD#585 from jonwright/master
bug, refine_assigned was broken and untested. Found by DeepSeek
2 parents e37af96 + acb51d5 commit 8f7d29e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/closest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ void refine_assigned(vec ubi[3], vec gv[], int labels[], int label, int *npk,
422422
n = 0;
423423
sumsqtot = 0;
424424
for ( i = 0; i < 3; i++ ){
425-
for ( j = 0; j < 3; i++ ){
425+
for ( j = 0; j < 3; j++ ){
426426
R[i][j] = 0.;
427427
H[i][j] = 0.;
428428
UB[i][j] = 0.;

0 commit comments

Comments
 (0)