Skip to content

Commit 14b83f3

Browse files
authored
Merge pull request #33 from matt8s/main
Fixed bug in materials.py: replaced orphaned variable "CustomDatabase…
2 parents 61b5f8e + 37c0bf8 commit 14b83f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PyMoosh/materials.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ def __init__(self, mat, verbose=False):
7373
self.sigma = np.array(material_data["sigma"])
7474

7575
elif model == "CustomFunction":
76-
self.type = "CustomDatabaseFunction"
77-
self.name = "CustomDatabaseFunction: " + str(mat)
76+
self.type = "CustomFunction"
77+
self.name = "CustomFunction: " + str(mat)
7878
permittivity = material_data["function"]
7979
self.permittivity_function = authorized[permittivity]
8080

0 commit comments

Comments
 (0)