From 6a97fe02477f9a62c1dddbbaa91fa1d210d3dca2 Mon Sep 17 00:00:00 2001 From: Thomas Kemmer Date: Tue, 17 Dec 2024 15:04:30 +0100 Subject: [PATCH] FF: fix `_try_assign!` for abstract-string atom names Fixes: #147 Signed-off-by: Thomas Kemmer --- src/forcefields/common/forcefield.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forcefields/common/forcefield.jl b/src/forcefields/common/forcefield.jl index c9d1e2e8..5ee5a121 100644 --- a/src/forcefields/common/forcefield.jl +++ b/src/forcefields/common/forcefield.jl @@ -47,7 +47,7 @@ end function _try_assign!( templates::Dict{String, AtomTypeTemplate{T}}, - name::String, + name::AbstractString, atom::Atom{T}; assign_typenames::Bool, overwrite_typenames::Bool,