comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Another "Array subscript for VECTOR must have same size as source expression." problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Another "Array subscript for VECTOR must have same size as source expression." problem [message #88465 is a reply to message #88464] Tue, 29 April 2014 15:31 Go to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Tuesday, April 29, 2014 1:46:32 PM UTC-6, laura...@gmail.com wrote:
> Thanks! I actually did try changing the order of the dimensions in the definition of plotstats once, but I guess I didn't change the assignment statements in the loop. I know that IDL will change the type or size of an array if you assign the wrong things to it, but this is ridiculous behavior on the part of a function/subroutine. It would make a lot more sense for the routine to crash when the wrong inputs are used.

Hi,
This has been fixed for IDL 8.3.1. BOXPLOT will still be nice and accept your 12x5 array (for backwards compatibility) but it won't mess up your input variable.
Thanks for catching it!
Cheers,
Chris
ExelisVIS
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Smooth and /EDGE_TRUNCATE
Next Topic: How to close 'failed' function graphics windows?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun May 03 02:45:13 PDT 2026

Total time taken to generate the page: 3.84160 seconds