Skip to content

Commit 24a97be

Browse files
committed
Clangformat applied
1 parent ba58ae2 commit 24a97be

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

mcstas-comps/contrib/Al_window.comp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,8 @@ SHARE
6666

6767
INITIALIZE
6868
%{
69-
MPI_MASTER(
70-
fprintf(stderr,"Al_window %s WARNING: Using simple lo-fi transmission model.\n - Replace with PowderN or NCrystal for bragg edges etc.\n",NAME_CURRENT_COMP);
71-
);
69+
MPI_MASTER (fprintf (stderr, "Al_window %s WARNING: Using simple lo-fi transmission model.\n - Replace with PowderN or NCrystal for bragg edges etc.\n",
70+
NAME_CURRENT_COMP););
7271
%}
7372

7473
TRACE
@@ -98,8 +97,7 @@ TRACE
9897
Al_my_tot = Al_rho / Al_mmol * Al_s_tot_lambda * avogadro;
9998

10099
/* Weight with cross-section */
101-
p *= exp (-(Al_my_tot+Al_my_a) * dist); /* neutron passes window without any interaction */
102-
100+
p *= exp (-(Al_my_tot + Al_my_a) * dist); /* neutron passes window without any interaction */
103101
%}
104102

105103
MCDISPLAY

0 commit comments

Comments
 (0)