diff --git a/input.cc b/input.cc index 9d15b5be0..98f60ca48 100644 --- a/input.cc +++ b/input.cc @@ -498,7 +498,7 @@ void add_transitions_to_unsorted_linelist(const int element, const int ion, cons MPI_Win_shared_query(win_alltransblock, 0, &size, &disp_unit, &globals::alltransitions); #else - alltransblock = static_cast(malloc(totupdowntrans * sizeof(LevelTransition))); + globals::alltransitions = static_cast(malloc(totupdowntrans * sizeof(LevelTransition))); #endif for (int level = 0; level < nlevelsmax; level++) {