Changeset 12692 for trunk/sources/HeuristicLab.Optimization
- Timestamp:
- 07/08/15 15:59:11 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization/3.3/RunCollection.cs
r12672 r12692 483 483 #region Filtering 484 484 private void UpdateFiltering(bool reset) { 485 var oldUpateRuns = UpdateOfRunsInProgress; 485 486 UpdateOfRunsInProgress = true; 486 487 if (reset) … … 488 489 foreach (IRunCollectionConstraint constraint in this.constraints) 489 490 constraint.Check(); 490 UpdateOfRunsInProgress = false;491 UpdateOfRunsInProgress = oldUpateRuns; 491 492 } 492 493 … … 550 551 #region Modification 551 552 public void Modify() { 553 var oldUpateRuns = UpdateOfRunsInProgress; 552 554 UpdateOfRunsInProgress = true; 553 555 var runs = this.ToList(); … … 564 566 } 565 567 } 566 UpdateOfRunsInProgress = false;568 UpdateOfRunsInProgress = oldUpateRuns; 567 569 } 568 570
Note: See TracChangeset
for help on using the changeset viewer.