Commit 608a8312508a3aa17798bb210c3edb8721137cca

Authored by Jean-Philippe Bernard
1 parent d81fada5
Exists in master

minor modification

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/idl/dustem_filter2instru.pro
@@ -44,11 +44,11 @@ Nfilt=n_elements(filter) @@ -44,11 +44,11 @@ Nfilt=n_elements(filter)
44 44
45 ind1=lonarr(Nfilt) 45 ind1=lonarr(Nfilt)
46 FOR i=0L,Nfilt-1 DO BEGIN 46 FOR i=0L,Nfilt-1 DO BEGIN
47 - ind=where(!dustem_instrument_description.filter EQ strtrim(filter(i),2),count) 47 + ind=where(!dustem_instrument_description.filter EQ strtrim(filter[i],2),count)
48 IF count EQ 0 THEN BEGIN 48 IF count EQ 0 THEN BEGIN
49 message,'Filter: '+strtrim(filter(i),2)+' not found in instrument_description.xcat' 49 message,'Filter: '+strtrim(filter(i),2)+' not found in instrument_description.xcat'
50 ENDIF 50 ENDIF
51 - ind1(i)=ind(0) 51 + ind1[i]=ind[0]
52 ENDFOR 52 ENDFOR
53 53
54 instru=!dustem_instrument_description(ind1).instru 54 instru=!dustem_instrument_description(ind1).instru