Skip to content

Commit 30fac70

Browse files
committed
fix for wrong radius charge cloud
1 parent abe40bd commit 30fac70

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)