Skip to content

Commit cbb6c92

Browse files
committed
Remove =+1 -> =1 since mcstas-pygen -> McStasscript may experience
issues in e.g. instr.show_diagram(analysis=True)
1 parent 9e0344e commit cbb6c92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mcstas-comps/sources/Source_gen.comp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ radius=0.0, dist=0, focus_xw=0.045, focus_yh=0.12, focus_aw=0, focus_ah=0,
131131
E0=0, dE=0, lambda0=0, dlambda=0, I1=1,
132132
yheight=0.1, xwidth=0.1, verbose=0, T1=0,
133133
flux_file_perAA=0, flux_file_log=0,
134-
Lmin=0,Lmax=0,Emin=0,Emax=0,T2=0,I2=0,T3=0,I3=0,zdepth=0, int target_index=+1)
134+
Lmin=0,Lmax=0,Emin=0,Emax=0,T2=0,I2=0,T3=0,I3=0,zdepth=0, int target_index=1)
135135

136136
/* Neutron parameters: (x,y,z,vx,vy,vz,t,sx,sy,sz,p) */
137137

0 commit comments

Comments
 (0)