From 6bb2311e318d3b6ae7ef88f88ed19ec25e959b7f Mon Sep 17 00:00:00 2001 From: DJ Passey Date: Wed, 31 Jan 2024 11:45:23 -0500 Subject: [PATCH] change numpy.complex -> numpy.complex128 bc of depreciation --- pyclustering/nnet/fsync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyclustering/nnet/fsync.py b/pyclustering/nnet/fsync.py index 66107379..a80120bc 100755 --- a/pyclustering/nnet/fsync.py +++ b/pyclustering/nnet/fsync.py @@ -335,7 +335,7 @@ def __calculate_amplitude(self, amplitude, t, argv): """ - z = amplitude.view(numpy.complex); + z = amplitude.view(numpy.complex128); dzdt = self.__landau_stuart(z, argv) + self.__synchronization_mechanism(z, argv); return dzdt.view(numpy.float64); \ No newline at end of file