Re: error message
- To: mathgroup at smc.vnet.net
- Subject: [mg5152] Re: error message
- From: haberndt at dnai.com (Harald Berndt)
- Date: Wed, 6 Nov 1996 01:33:32 -0500
- Organization: DNAI ( Direct Network Access )
- Sender: owner-wri-mathgroup at wolfram.com
In article <54kal9$d6r at dragonfly.wolfram.com>, gt1824a at prism.gatech.edu (Heather Mary Hauser) wrote: > [ ... some stuff cut ... ] > "FindRoot::frnum:Function{{-0.00004794 - 0.000020387I}} is not a length 1 > list of numbers at {r} = {0.15I}" . > [ ... more stuff cut ... ] I'd need to see more of the definition of the function to find out what's wrong, but clearly {{-0.00004794 - 0.000020387I}} is not a length 1 list of numbers, but a list of length 1 of lists of length 1 (the double braces). For some reason, your function returns a list of results. Use Flatten[] or First[] somewhere to get to {-0.00004794 - 0.000020387I}. -- Harald Berndt, Ph.D. Research Specialist, Voice: 510-652-5974 Consultant FAX: 510-215-4299