Changeset fa92706 in OpenModelica for OMCompiler/Compiler/Util/Error.mo


Ignore:
Timestamp:
2020-06-25T14:11:32+02:00 (4 years ago)
Author:
perost <perost86@…>
Branches:
Added-citation-metadata, maintenance/v1.17, maintenance/v1.18, maintenance/v1.19, maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, maintenance/v1.23, master, omlib-staging
Children:
7f97ef5, 98c15a15, f4d7a0e
Parents:
12e54274
git-author:
Per Östlund <perost86@…> (06/24/20 18:37:51)
git-committer:
perost <perost86@…> (06/25/20 14:11:32)
Message:

[NF] Add differentiability check for der().

  • Check that the argument of der() isn't discrete.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMCompiler/Compiler/Util/Error.mo

    r0c5b95d rfa92706  
    807807public constant ErrorTypes.Message PURE_FUNCTION_WITH_IMPURE_CALLS = ErrorTypes.MESSAGE(367, ErrorTypes.TRANSLATION(), ErrorTypes.WARNING(),
    808808  Gettext.gettext("Pure function ‘%s‘ contains a call to impure function ‘%s‘."));
     809public constant ErrorTypes.Message DER_OF_NONDIFFERENTIABLE_EXP = ErrorTypes.MESSAGE(369, ErrorTypes.TRANSLATION(), ErrorTypes.ERROR(),
     810  Gettext.gettext("Argument ‘%s‘ of der is not differentiable."));
    809811
    810812public constant ErrorTypes.Message INITIALIZATION_NOT_FULLY_SPECIFIED = ErrorTypes.MESSAGE(496, ErrorTypes.TRANSLATION(), ErrorTypes.WARNING(),
Note: See TracChangeset for help on using the changeset viewer.