Check dimensions with dimensionless units
When calling #'check-dimension with units = 'dimensionless and an argument that is a pdq that is not a grid, return an error message that specifically says it is not dimensionless. This fixes an error in arc trig functions that would not even give an error, but return the dimel (list) for 'dimensionless (i.e., all zeros). Rather than fixing in #'equal-dimension, it is fixed here so that the error message is clear to the user.'
Showing with 10 additions and 8 deletions