Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 95936673 authored by hhakim's avatar hhakim
Browse files

Add alt. signature to Constraint* constructors to ligthen instantiation code (pyfaut and matfaust).

Example got matfaust:
Before it was necessary to write something like: fact_cons{1} = ConstraintInt(ConstraintName(ConstraintName.SPLIN), 500, 32, 5);
Now it's easier with equivalent code: fact_cons{1} = ConstraintInt('splin', 500, 32, 5);
The former code is still valid though.
parent 413d61b7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment