Skip to content

Constant values from Aggregator #1142

@Jammy2211

Description

@Jammy2211

I have an example where the redshift of the source galaxy is a Constant, which is expected as this is the type which comes from the SLaM pipeline.

The problem is that this value is then used to perform a calculation, which expects the input to be of type float, not of type Constant.

When loading an instance via the aggregator, is it safe to make it so that all Constant values are internally converted to a float with the same value, so that use of that instance for calculations does not have bugs? This would only be when using the Aggregator to load result.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions