tvb-root
tvb-root copied to clipboard
Weights implicitly converted from float64 to float32
I observed the following implicit conversion of the connectivity weights, is this known and expected?
sim = Simulator(
connectivity=Connectivity.from_file(),
model=JansenRit(),
coupling=Linear(),
integrator=EulerDeterministic(dt = 1),
monitors=[Raw()],
)
sim.configure()
print("Original:", sim.connectivity.weights.dtype)
print("At history level:", sim.history.es_weights.dtype)
print("At history level:", sim.history.nnz_weights.dtype)
Gives:
Original: float64
At history level: float32
At history level: float32
Thanks for opening the issue. This may be expected and should not be problematic. Did it create a problem for you?