Skip to content

Commit 0c8f2a1

Browse files
authored
Merge pull request #486 from tdixon97/radius-fix
fix for wrong radius charge cloud
2 parents abe40bd + 30fac70 commit 0c8f2a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MCEventsProcessing/MCEventsProcessing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function _convertEnergyDepsToChargeDeps(
129129
T.(to_internal_units(edep[iEdep_indep][i_together])),
130130
number_of_carriers,
131131
number_of_shells = number_of_shells,
132-
radius = T(to_internal_units(edep[iEdep_indep][i_together]))
132+
radius = T(to_internal_units(radius[iEdep_indep][i_together]))
133133
)
134134
move_charges_inside_semiconductor!([nbcc.locations], [nbcc.energies], det)
135135
nbcc

0 commit comments

Comments
 (0)