Skip to content

Allow resource capacity to be equal to current resource number density #337

@gustavdelius

Description

@gustavdelius

Currently line 253 in setResource.R insists that "The 'resource_capacity' must always be greater than current resource number density." This is done so that when the user wants to set a resource level, the resource rate does not become infinite. I think that it would be better to just issue a warning and then increase the resource capacity by a tiny factor. That way params objects that have set the two equal (like NS_params) do not trigger an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions