| Summary: | The EMFVM does not support Float. It works only with Double. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] MMT.ATL | Reporter: | El Arbi Aboussoror <aboussoror> | ||||
| Component: | emfvm | Assignee: | mmt-atl.toolkit-inbox <mmt-atl.toolkit-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | dwagelaar, william.piers | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 179810 [details]
ATL project
The helper with the bug is in the AutoLayout.atl transformation..
This bug has been fixed on CVS HEAD. The fix will be included in the next ATL 3.2 build (ATL 3.2.0RC1, May 17). Thanks for the test case ! This was released for ATL 3.2 - closing. |
Build Identifier: 20100218-1602 I had this problem within a helper : helper def : getHeightForCube() : Real = thisModule.allCubes -> collect(c | c.capacity) -> iterate(e; res : Real = thisModule.allCubes.first().capacity | e.max(res) ); The property "capacity" is of type EFloat. The execution raises this error : org.eclipse.m2m.atl.engine.emfvm.VMException: Operation not found: 1.0.max(java.lang.Float) Reproducible: Always Steps to Reproduce: 1. use 'max' or '>' operation on a Real variable and a Efloat property (from the metamodel)