JuliaWaveScattering / JuliaWaveScattering/MultipleScattering.jl

Remove parameter T from most all parametric types

Open
#33 5 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Julia
Stars
56
Forks
13
PR merge metrics
No merged PRs in 30d

Description

The type `T`, used to indicate the type of numbers used, i.e. Float64, FLoat32, etc.. appear in many parametric types:

```julia
Shape{T<:AbstractFloat,Dim}
Particle{T<:AbstractFloat,Dim,P<:PhysicalMedium,S<:Shape}
```
and many more... Keeping track of `T` is pointless, as we do not dispatch based on this in any circumstance. It only currently helps enforce that a set of types all use the same `T`. Enforcing this has almost no purpose, and is at times annoying.

This `T` should be removed from almost all parametric types.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.