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

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy