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 fab4f9b commit 9701a7a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tmu/lib/src/ClauseBank.c
Original file line number Diff line number Diff line change
Expand Up @@ -1627,6 +1627,13 @@ void cb_calculate_spatio_temporal_features(
&Xi[patch*number_of_ta_chunks],
0
);

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

if (((clause_node_output[j*number_of_patch_chunks + patch_chunk] & (1 << patch_pos)) > 0) != clause_value_in_patch[patch] ) {
printf("ERROR %d %d %d %d %d %d\n", j, patch, patch_chunk, patch_pos, (clause_node_output[j*number_of_patch_chunks + patch_chunk] & (1 << patch_pos)) > 0, clause_value_in_patch[patch]);
}
}

for (int patch = 0; patch < number_of_patches; ++patch) {
Expand Down

0 comments on commit 9701a7a

Please sign in to comment.