MetaScale/nt2 — pull request #364 by jfalcou (2012-12-04 09:22:11+00:00)
Title: Fix #272 - Refactoring of generative and other size-matter operations

This patch fixes various issues related to handling of constants and other size-based operations like resize, reshape etc ...

The fix consists in having a proper centralized as_size function ( commit ca7502e) that generically build an of_size from some values, respecting a common semantic for each cases. Then every generative or restructuring operations have been amended to use it and some side-effect changes have been fixed ( commit 9bc22b7, 01baf7e and 80dfc99).

As a side effect, fixes have been applied onto MPL integral hierarchization to make as_size handles all cases properly (commit 7d45a0d). This fix, related to a wrong Origin specification in mpl_integral_, had some ripple effect that also have been fixed (commit 01baf7e).