Skip to content

Commit

Permalink
Update vpkt.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Sep 1, 2024
1 parent fa543bb commit 99e63db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vpkt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ auto rlc_emiss_vpkt(const Packet &pkt, const double t_current, const double t_ar
vpkt.last_cross = BOUNDARY_NONE;

bool end_packet = false;
double ldist = 0;
double t_future = t_current;

for (int opacindex = 0; opacindex < Nspectra; opacindex++) {
Expand Down Expand Up @@ -292,7 +291,7 @@ auto rlc_emiss_vpkt(const Packet &pkt, const double t_current, const double t_ar
assert_testmodeonly(nu_cmf_abort <= vpkt.nu_cmf);
const double d_nu_on_d_l = (nu_cmf_abort - vpkt.nu_cmf) / sdist;

ldist = 0;
double ldist = 0;
while (ldist < sdist) {
const int lineindex = closest_transition(vpkt.nu_cmf, vpkt.next_trans);

Expand Down

0 comments on commit 99e63db

Please sign in to comment.