Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
olegranmo committed Oct 11, 2024
1 parent f623590 commit efe3b0d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tmu/lib/src/ClauseBank.c
Original file line number Diff line number Diff line change
Expand Up @@ -1574,6 +1574,17 @@ void cb_calculate_spatio_temporal_features(
);

if (d == 0 && j == 0 && patch == 0) {
printf("-");
for (int k = 0; k < number_of_literals; ++k) {
int literal_chunk = k / 32;
int literal_pos = k % 32;

if (ta_state[clause_pos + literal_chunk*number_of_state_bits + number_of_state_bits - 1] & (1 << literal_pos)) {
printf(" %d", k);
}
}
printf("\n");

unsigned int patch_chunk = patch / 32;
unsigned int patch_pos = patch % 32;

Expand Down

0 comments on commit efe3b0d

Please sign in to comment.