Skip to content

Compiling internal_math.hpp failed in some Visual Studio #3

@yosupo06

Description

@yosupo06

Reporter: TumoiYorozu (Japanese tweet: https://twitter.com/TumoiYorozu/status/1303198406513291264 )

It seems that some Visual Studio failed to compile internal_math. We need to take a look into.

As a temporary solution, replacing

    for (long long a : {2, 7, 61}) {

into

    int v[] = { 2, 7, 61 };
    for (long long a : v) {

works, but we have to find the reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions