Skip to content

Commit

Permalink
initialize the vec object in bend-flux-ll.cpp (#2955)
Browse files Browse the repository at this point in the history
  • Loading branch information
oskooi authored Dec 31, 2024
1 parent fe60ee7 commit a7ed694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bend-flux-ll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ structure create_structure_by_hand(bool no_bend, bool use_prisms, volume &vsrc,
/***************************************************************/
/***************************************************************/
void bend_flux(bool no_bend, char *GDSIIFile, bool use_prisms) {
vec v0;
vec v0 = zero_vec(D2);
volume vsrc(v0), vrefl(v0), vtrans(v0);
structure the_structure =
GDSIIFile ? create_structure_from_GDSII(GDSIIFile, no_bend, vsrc, vrefl, vtrans)
Expand Down

0 comments on commit a7ed694

Please sign in to comment.