Skip to content

Commit ad17431

Browse files
committed
Change from demanding order to be 1, to demanding order to exist.
1 parent 92a6764 commit ad17431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcstas-comps/samples/PowderN.comp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ TRACE
993993
} else {
994994
dt = dt * (t3 - t2) + (t2-t0) ; /* Possibly also 'backside' part */
995995
}
996-
if (order==1){
996+
if (order){
997997
my_s = line_info.my_s_v2_sum/(v*v)+line_info.my_inc;
998998
} else {
999999
my_s = line_info.my_inc;

0 commit comments

Comments
 (0)