Skip to content

Commit 6281855

Browse files
authored
Update spec-adjust-hl.c
used predefined radians to degree conversion
1 parent a3ba209 commit 6281855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/higher-level/spec-adjust-hl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ double pred, wpred[_SPECHOMO_N_DST_], wsum;
754754
printf("lib: ");
755755
for (b=0; b<_SPECHOMO_N_SRC_; b++) printf("%05d ", _SPECHOMO_CENTER_[sid][b][s]);
756756
printf("\n");
757-
printf("xx: %.2f, yy: %.2f, xy: %.2f, sam: %.8f, sam_deg: %.8f, weight: %.8f\n", xx, yy, xy, sam, sam*180/3.141592653589793, weight[s]);
757+
printf("xx: %.2f, yy: %.2f, xy: %.2f, sam: %.8f, sam_deg: %.8f, weight: %.8f\n", xx, yy, xy, sam, sam*_R2D_CONV_, weight[s]);
758758
#endif
759759

760760
// maximum weight of close clusters (-1 if no close cluster)

0 commit comments

Comments
 (0)