mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
replace all dataset.value with dataset[()] (or occasionally dataset[...])
This commit is contained in:
parent
0898642164
commit
ea71b9e377
24 changed files with 145 additions and 145 deletions
|
|
@ -434,7 +434,7 @@ class Polynomial(np.polynomial.Polynomial, Function1D):
|
|||
if dataset.attrs['type'].decode() != cls.__name__:
|
||||
raise ValueError("Expected an HDF5 attribute 'type' equal to '"
|
||||
+ cls.__name__ + "'")
|
||||
return cls(dataset.value)
|
||||
return cls(dataset[()])
|
||||
|
||||
|
||||
class Combination(EqualityMixin):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue