Use unitless instead of dimensionless when handling implicit units
Several parts of taurus handle unitless quantities but check using the .dimensionless attribute, which is not exactly the same: e.g., Q_('1 rad') is dimensionless, but not unitless
Fix it by using the .unitless attribute instead.
Merge request reports
Activity
@CPascual, only to be sure. In the file external/pint/pint_local/unit.py line 115 is correct to put dimensionless ?.
In the file external/pint/pint_local/unit.py line 115 is correct to put dimensionless ?
Not sure what you mean... I do not see "dimensionless" in that line (I am using the develop branch... I see it in line 104 and line 123)
In any case, that file belongs to pint and we should not care about pint internals.
@cmft already approved, @teresanunez , I understand that you were also ok with merging, ...
so I am merging