Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weights implicitly converted from float64 to float32 #698

Open
mapi1 opened this issue Dec 13, 2023 · 0 comments
Open

Weights implicitly converted from float64 to float32 #698

mapi1 opened this issue Dec 13, 2023 · 0 comments

Comments

@mapi1
Copy link

mapi1 commented Dec 13, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant