Skip to content

set_outplant_deployment! errors past RME version 1.0.28 due to expecting a float for density where RME expects a vector #28

@Rosejoycrocker

Description

@Rosejoycrocker

With RME versions >1.0.28, using set_outplant_deployment! returns the following error:

ERROR: ArgumentError: Call to RME failed with message: Error : Supplied vector is of size 0 should be 6.

This is due to later versions of the RME expecting a vector input for the density of corals where each element is the density of corals per species, whereas earlier versions expected a float. The ReefModEngine.jl function still expects a float so there's a mismatch. The ReefModEngine.jl function should be changed to allow for both float and vector input types, with a note on version requirements.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions