Skip to content

Commit c0b6294

Browse files
committed
Use random seed unless specified in CeSymm optimization
1 parent f2ebc2e commit c0b6294

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

biojava-structure/src/main/java/org/biojava/nbio/structure/symmetry/internal/CESymmParameters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public void reset(){
125125
orderDetectorMethod = OrderDetectorMethod.DEFAULT;
126126
refineMethod = RefineMethod.DEFAULT;
127127
optimization = true;
128-
seed = 0;
128+
seed = (int)(System.currentTimeMillis()%1000000);
129129
multipleAxes = true;
130130
symmetryThreshold = DEFAULT_SYMMETRY_THRESHOLD;
131131
minSubunitLength = 15;

0 commit comments

Comments
 (0)