diff --git a/LICENSE b/LICENSE index b96e973..6b87c1c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 2-Clause License -Copyright (c) 2021 - 2022, T. W. van der Heide +Copyright (c) 2021 - 2025, T. W. van der Heide All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/fortformat/__init__.py b/src/fortformat/__init__.py index 2539770..335ffb9 100644 --- a/src/fortformat/__init__.py +++ b/src/fortformat/__init__.py @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------# # fortnet-python: Python Tools for the Fortnet Software Package # -# Copyright (C) 2021 - 2022 T. W. van der Heide # +# Copyright (C) 2021 - 2025 T. W. van der Heide # # # # See the LICENSE file for terms of usage and distribution. # #------------------------------------------------------------------------------# diff --git a/src/fortformat/fnetdata.py b/src/fortformat/fnetdata.py index bf2b399..066d1c7 100644 --- a/src/fortformat/fnetdata.py +++ b/src/fortformat/fnetdata.py @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------# # fortnet-python: Python Tools for the Fortnet Software Package # -# Copyright (C) 2021 - 2022 T. W. van der Heide # +# Copyright (C) 2021 - 2025 T. W. van der Heide # # # # See the LICENSE file for terms of usage and distribution. # #------------------------------------------------------------------------------# diff --git a/src/fortformat/fnetout.py b/src/fortformat/fnetout.py index ff1d4da..bbb007d 100644 --- a/src/fortformat/fnetout.py +++ b/src/fortformat/fnetout.py @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------# # fortnet-python: Python Tools for the Fortnet Software Package # -# Copyright (C) 2021 - 2022 T. W. van der Heide # +# Copyright (C) 2021 - 2025 T. W. van der Heide # # # # See the LICENSE file for terms of usage and distribution. # #------------------------------------------------------------------------------# diff --git a/test/common.py b/test/common.py index 5c6b9ce..7d7f14f 100644 --- a/test/common.py +++ b/test/common.py @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------# # fortnet-python: Python Tools for the Fortnet Software Package # -# Copyright (C) 2021 - 2022 T. W. van der Heide # +# Copyright (C) 2021 - 2025 T. W. van der Heide # # # # See the LICENSE file for terms of usage and distribution. # #------------------------------------------------------------------------------# @@ -445,7 +445,8 @@ def get_atomicweights_byatoms(atoms): weights = [] for atom in atoms: natom = len(atom) - weights.append(np.asfarray(np.random.randint(1, 100, natom, dtype=int))) + weights.append(np.asarray( + np.random.randint(1, 100, natom, dtype=int), dtype=float)) return weights diff --git a/test/test_fnetdata.py b/test/test_fnetdata.py index 93a5e47..0088cf8 100644 --- a/test/test_fnetdata.py +++ b/test/test_fnetdata.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 #------------------------------------------------------------------------------# # fortnet-python: Python Tools for the Fortnet Software Package # -# Copyright (C) 2021 - 2022 T. W. van der Heide # +# Copyright (C) 2021 - 2025 T. W. van der Heide # # # # See the LICENSE file for terms of usage and distribution. # #------------------------------------------------------------------------------# diff --git a/test/test_fnetout.py b/test/test_fnetout.py index f709f87..0b348e9 100644 --- a/test/test_fnetout.py +++ b/test/test_fnetout.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 #------------------------------------------------------------------------------# # fortnet-python: Python Tools for the Fortnet Software Package # -# Copyright (C) 2021 - 2022 T. W. van der Heide # +# Copyright (C) 2021 - 2025 T. W. van der Heide # # # # See the LICENSE file for terms of usage and distribution. # #------------------------------------------------------------------------------#