Skip to content

Commit

Permalink
Fix typo which led to error
Browse files Browse the repository at this point in the history
  • Loading branch information
markriegler committed Aug 26, 2024
1 parent 364c213 commit 88ba9dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/show_microstructures.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,13 +346,13 @@ def foo(x):
generator.parametrization_function = foo

inverse_microstructure = generator.create(
closing_face="z", seperator_distance=0.4, center_expansion=1.3
closing_face="z", separator_distance=0.4, center_expansion=1.3
)

# Plot the results
_, showables_inverse = generator.show(
closing_face="z",
seperator_distance=0.4,
separator_distance=0.4,
center_expansion=1.3,
title="Parametrized Inverse Microstructure",
control_points=False,
Expand All @@ -365,7 +365,7 @@ def foo(x):
# Corresponding Structure
generator.microtile = splinepy.microstructure.tiles.get("Cross3D")
microstructure = generator.create(
closing_face="z", seperator_distance=0.4, center_expansion=1.3
closing_face="z", separator_distance=0.4, center_expansion=1.3
)
_, showables = generator.show(
closing_face="z",
Expand Down

0 comments on commit 88ba9dc

Please sign in to comment.