Skip to content

Commit a365e25

Browse files
committed
Update InverseProblem.py
1 parent 9d51380 commit a365e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PEUQSE/InverseProblem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ def doListOfPermutationsSearch(self, listOfPermutations, numPermutations = None,
811811
self.last_permutations_MAP_logP_and_parameters_values_filename = file_name_prefix + "multistart_MAP_logP_and_parameters_values" + file_name_suffix
812812
self.last_permutations_MAP_logP_and_parameters_values = unpickleAnObject(self.UserInput.directories['pickles']+self.last_permutations_MAP_logP_and_parameters_values_filename)
813813
#extract he last_listOfPermutations from the array object.
814-
self.last_listOfPermutations = np.array(nestedObjectsFunctions.makeAtLeast_2dNested(self.last_permutations_MAP_logP_and_parameters_values[:,1:])) #later columns are the permutations.
814+
self.last_listOfPermutations = np.array(nestedObjectsFunctions.makeAtLeast_2dNested(np.array(self.last_permutations_MAP_logP_and_parameters_values)[:,1:])) #later columns are the permutations.
815815
if np.shape(self.last_listOfPermutations)[0] == 1: #In this case, need to transpose.
816816
self.last_listOfPermutations = self.last_listOfPermutations.transpose()
817817
#unlike in mcmc_continueSampling, we don't need the last_InputParameterInitialGuess information.

0 commit comments

Comments
 (0)