Skip to content

Commit 144b1d3

Browse files
committed
Change deprecated product
1 parent a77cca1 commit 144b1d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

diffmpm/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def _parse_mesh(self, config):
130130
if config["mesh"]["type"] == "generator":
131131
elements = element_cls(
132132
config["mesh"]["nelements"],
133-
jnp.product(jnp.array(config["mesh"]["nelements"])),
133+
jnp.prod(jnp.array(config["mesh"]["nelements"])),
134134
config["mesh"]["element_length"],
135135
constraints,
136136
concentrated_nodal_forces=self.parsed_config["external_loading"][

0 commit comments

Comments
 (0)