bug fixing

This commit is contained in:
Jianshun Gao 2023-05-05 18:30:53 +02:00
parent 0925cf63b6
commit 5a5aee8cea
2 changed files with 576 additions and 79 deletions

View File

@ -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,16 +526,10 @@ 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()

File diff suppressed because one or more lines are too long