Skip to content

Commit

Permalink
Fix a problem with Numpy types
Browse files Browse the repository at this point in the history
Refs #7860
  • Loading branch information
DanNixon committed Sep 23, 2014
1 parent 650c0d4 commit e749973
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -94,7 +94,7 @@ def PyExec(self):
zeros = np.zeros(new_array_len * num_symm_spectra)
CreateWorkspace(OutputWorkspace=temp_ws_name,
DataX=zeros, DataY=zeros, DataE=zeros,
NSpec=num_symm_spectra,
NSpec=np.int64(num_symm_spectra),
UnitX=x_unit)

# Copy logs and properties from sample workspace
Expand Down

0 comments on commit e749973

Please sign in to comment.