Skip to content

Access violation error in all overloads of SumOfLogs #46

Closed
@delphidabbler

Description

@delphidabbler

If a non-positive element of any array passed to SumOfLogs an exception is supposed to be raised. But we get an access violation instead. This is because the code is:

raise SysUtils.EArgumentOutOfRangeException(sNotPositive);

instead of

raise SysUtils.EArgumentOutOfRangeException.Create(sNotPositive);

i.e. the Create method call is missing!

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcompletedIssue completed and committed to develop. To be closed on next release

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions