@@ -1187,7 +1187,7 @@ TRACE
11871187 for (iterator = 0; iterator < number_of_masks; iterator++) {
11881188 // CPU Only
11891189 // if(Volumes[mask_volume_index_list.elements[iterator]]->geometry.within_function(ray_position,&Volumes[mask_volume_index_list.elements[iterator]]->geometry)
1190- // == 1) {
1190+ // == 1) {
11911191 // GPU
11921192 if (r_within_function (ray_position, &Volumes[mask_volume_index_list.elements[iterator]]->geometry) == 1) {
11931193 mask_status_list.elements[iterator] = 1;
@@ -1733,8 +1733,8 @@ TRACE
17331733 } else {
17341734 if (fysik->sampling_points == 0) {
17351735 real_transmission_probability = exp (-length_to_boundary * my_sum_plus_abs);
1736- } else if (fysik->sampling_points != 0 ) {
1737- // Calculate the probabilities and then add them cumulatively
1736+ } else if (fysik->sampling_points != 0) {
1737+ // Calculate the probabilities and then add them cumulatively
17381738 memset (fysik->total_mus, 0, sizeof (double) * fysik->sampling_points);
17391739
17401740 for (int i = 0; i < Volumes[current_volume]->p_physics->number_of_processes; i++) {
@@ -1765,7 +1765,6 @@ TRACE
17651765 }
17661766
17671767 real_transmission_probability = fysik->cumul_transmission_prob[fysik->sampling_points - 1];
1768-
17691768 }
17701769 // printf("Trans prop = %g\n", real_transmission_probability);
17711770 if (Volumes[current_volume]->geometry.geometry_p_interact != 0) {
@@ -1809,7 +1808,7 @@ TRACE
18091808 selected_sampling = i;
18101809 break;
18111810 }
1812- abs_weight_factor *= (fysik->total_mus[selected_sampling] - mu_at_speed * fysik->dist)/ fysik->total_mus[selected_sampling];
1811+ abs_weight_factor *= (fysik->total_mus[selected_sampling] - mu_at_speed * fysik->dist) / fysik->total_mus[selected_sampling];
18131812
18141813 // printf("\nSelected_sampling = %d\n", selected_sampling);
18151814
@@ -1914,7 +1913,7 @@ TRACE
19141913 time_old = t;
19151914 // Apply absorption
19161915 // if (abs_weight_factor != 1){
1917- // printf("Abs weight factor = %g\n", abs_weight_factor);
1916+ // printf("Abs weight factor = %g\n", abs_weight_factor);
19181917 // }
19191918 p *= abs_weight_factor;
19201919
0 commit comments