From 73b87eb20f5d19532c64249c10855406bc6d38d2 Mon Sep 17 00:00:00 2001 From: Luke Shingles Date: Fri, 30 Aug 2024 13:21:10 +0100 Subject: [PATCH] Update input.cc --- input.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) {