Re: visad.TypeException: ScalarType: name already used

Hi Luke,

> Why do I get the  error message:
> 
>  visad.TypeException: ScalarType: name already used
> 
> It occurs with this call:
> 
>     index = new RealType("Index");

Try:

  index = RealType.getRealType("Index");

This will either construct it, or if its already constructed
then just return it.

Cheers,
Bill


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: