bug fixing
This commit is contained in:
parent
0925cf63b6
commit
5a5aee8cea
@ -503,6 +503,7 @@ class FitAnalyser():
|
||||
'output_sizes': {
|
||||
output_core_dims[0]: np.size(x),
|
||||
},
|
||||
'meta': np.ndarray((0,0), dtype=float)
|
||||
},
|
||||
}
|
||||
)
|
||||
@ -514,7 +515,6 @@ class FitAnalyser():
|
||||
kwargs.update(
|
||||
{
|
||||
"output_core_dims": [[prefix+'x', prefix+'y']],
|
||||
"output_dtypes": float,
|
||||
}
|
||||
)
|
||||
output_core_dims = [prefix+'x', prefix+'y']
|
||||
@ -526,17 +526,11 @@ class FitAnalyser():
|
||||
output_core_dims[0]: np.size(x),
|
||||
output_core_dims[1]: np.size(y),
|
||||
},
|
||||
# 'output_dtypes': float,
|
||||
# 'output_dtypes': {
|
||||
# output_core_dims[0]: float,
|
||||
# output_core_dims[1]: float,
|
||||
# },
|
||||
'meta': np.ndarray((0,0), dtype=float)
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
# del kwargs['output_dtypes']
|
||||
|
||||
_x, _y = np.meshgrid(x, y)
|
||||
_x = _x.flatten()
|
||||
_y = _y.flatten()
|
||||
|
645
test.ipynb
645
test.ipynb
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user