Skip to content

Commit d5c0465

Browse files
authored
Merge pull request #664 from SasView/bugfix
Fixes map() bug in "sasfit_compare"
2 parents cf4f97e + c7d1e39 commit d5c0465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

explore/beta/sasfit_compare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ def data_file(name):
373373

374374
def load_sasfit(path):
375375
data = np.loadtxt(path, dtype=str, delimiter=';').T
376-
data = np.vstack(map(float, v) for v in data[0:2])
376+
data = np.vstack([map(float, v) for v in data[0:2]])
377377
return data
378378

379379
COMPARISON = {} # Type: Dict[(str,str,str)] -> Callable[(), None]

0 commit comments

Comments
 (0)