Skip to content

Errors (?) in src/library.cc #1687

@evgaster

Description

@evgaster

Version 0.9.18

The file src/library.cc has:

static const cstring basic_library[] =
// ----------------------------------------------------------------------------
//   List of basic entries in the library
// ----------------------------------------------------------------------------
//   clang-format off
{

    // ------------------------------------------------------------------------
    //   Physics
    // ------------------------------------------------------------------------

    "Secrets",          nullptr,

    "Dedicace", "\"À tous ceux qui se souviennent de Maubert électronique\"",
    "Dedicace", "\"À tous ceux qui se souviennent de Maubert électronique\"",
    "LibraryHelp",  "\"To modify the library, edit the config/library.csv file\"",
    "Physics",          nullptr,
    "SiDensity", "« → T '√((2.81e19)*(1.83e19))*(1_(1/cm^3))*exp(-(1.12_eV)/(2*Ⓒk*UBASE(T_K)))' »",
    "Fanning", "« → Roughness Reynolds 'IFTE(Reynolds≤2100;16/Reynolds;(4.781-((-2۰log((Roughness)/3.7+12/Reynolds)>
};
//   clang-format on

The "// Physics" comment block seems in the wrong place.

"Dedicace" is duplicated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdoneIssues that are done on dev (will be in next release)userReported by an actual user, yay!

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions