Possible Bug in Units2
- To: mathgroup at smc.vnet.net
- Subject: [mg37960] Possible Bug in Units2
- From: Nigel King <king at dircon.co.uk>
- Date: Fri, 22 Nov 2002 04:16:10 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
I recently downloaded Miscellaneous`Units2` and started using it and some problems arose which only happen after Miscellaneous`Units2` is loaded. The following illustrates the problem. In[1]:= f[a_?IntegerQ, b_?IntegerQ] := Part[t, a] - Part[t, b]; In[2]:= Needs["Miscellaneous`Units2`"] In[3]:= f[a_?IntegerQ, b_?IntegerQ] := Part[t, a] - Part[t, b]; Part::"pspec": "Part specification \!\(b\) is neither an integer nor a list \ of integers." The function appears to perform correctly but I dare not use Units2 with the error message showing. Sorry if this has been pointed out before but it took me some time to establish. -- Nigel