Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Union using SameTest

  • To: mathgroup at
  • Subject: [mg61206] Re: [mg61195] Union using SameTest
  • From: curtis <gardyloo at>
  • Date: Wed, 12 Oct 2005 02:44:26 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at

Hi, Jack,

    I really think it was the misplaced decimal in your list. I found it
(finally) by doing


 and got something like {Real, Real, Real, ... , Real, Dot}. Whoops!

Jack Goldberg wrote:

>Hi Everyone,
>Thanks for all your responses.  I am grateful and somewhat  
>mystified.  The solutions
>SameTest->(Abs[#1-#2]<10^-2&)]   was the first thing I tried!  It  
>didn't work for me - in fact it gave a strange error message -  
>something involving "heads in positions 1 and 2 must be the same".
>This was the reason for my posting.  Well, I tried it again and now  
>it works.  At this point I believe that the error has to do with my  
>reusing certain names over and over with clearing them.  But I am not  
>sure and since I can't reconstruct the error - I'm letting this  
>sleeping dog lie.
>Thanks again fellas!

|  Curtis Osterhoudt              
|  gardyloo at                   
|  PGP Key ID: 0x235FDED1                               
|  Please avoid sending me Word or PowerPoint attachments. 

  • Prev by Date: Re: Maximum y-value in a list of xy pairs
  • Next by Date: Re: Maximum y-value in a list of xy pairs
  • Previous by thread: Union using SameTest
  • Next by thread: Re: Union using SameTest