We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9a4ad4 commit 747fdceCopy full SHA for 747fdce
tidy3d/components/data/dataset.py
@@ -360,7 +360,7 @@ def current_density(self) -> ElectromagneticSurfaceFieldDataset:
360
if template is None:
361
raise ValueError("Could not calculate current density: the dataset does not contain H field information.")
362
363
- return template.updated_copy(xr.cross(h_diff, self.normal.values, dim="axis"))
+ return template.updated_copy(values=xr.cross(h_diff, self.normal.values, dim="axis"))
364
365
@property
366
def grid_locations(self) -> Dict[str, str]:
0 commit comments