Skip to content

Commit

Permalink
rm obsolete variables and bumb
Browse files Browse the repository at this point in the history
  • Loading branch information
relleums committed May 28, 2024
1 parent 5224a2c commit 92477d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions libs/mli_corsika/apps/ground_grid.main.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,6 @@ int main(int argc, char *argv[])
chk(mliIo_malloc_capacity(&buff, 10 * 1000));

while (mliEventTapeReader_read_evth(&arc, evth)) {
clock_t t_ray_voxel = 0;
clock_t t_avl_histogram = 0;
uint64_t xx, yy, ii, jj = 0;

if (hist.dict.capacity > 10 * 1000 * 1000) {
chk(mliCorsikaHistogram2d_malloc(&hist, 10 * 1000));
} else {
Expand All @@ -110,7 +106,6 @@ int main(int argc, char *argv[])
}

while (mliEventTapeReader_read_cherenkov_bunch(&arc, raw)) {
int num_overlaps = 0;
struct mliRay ray;
mliCorsikaPhotonBunch_set_from_raw(&bunch, raw);
ray.support.x = bunch.x_cm;
Expand All @@ -126,7 +121,6 @@ int main(int argc, char *argv[])
mliAxisAlignedGridTraversal_start(&grid, &ray);

while (traversal.valid) {
num_overlaps += 1;
chk(mliCorsikaHistogram2d_assign(
&hist,
traversal.voxel.x,
Expand Down
2 changes: 1 addition & 1 deletion libs/mli_corsika/src/mli_corsika_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

#define MLI_CORSIKA_VERSION_MAYOR 0
#define MLI_CORSIKA_VERSION_MINOR 3
#define MLI_CORSIKA_VERSION_PATCH 3
#define MLI_CORSIKA_VERSION_PATCH 4

#endif

0 comments on commit 92477d1

Please sign in to comment.