Skip to content

convenience constructor for Particle #11

@chrhck

Description

@chrhck

Currently all numeric fields for Particle have to be of same type in the constructor.
Add a convenience constructor that uses T = promote_type(args..) on all numerics arguments to create a Particle{T}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions