Skip to content

Weights implicitly converted from float64 to float32 #698

@mapi1

Description

@mapi1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions