Changeset 17087 for trunk/HeuristicLab.Optimizer
- Timestamp:
- 07/05/19 14:56:37 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Optimizer/3.3/StartPage.cs
r17022 r17087 23 23 using System.Collections.Generic; 24 24 using System.IO; 25 using System.IO.Compression;26 25 using System.Linq; 27 26 using System.Reflection; … … 120 119 using (var stream = assembly.GetManifestResourceStream(name)) { 121 120 var serializer = new ProtoBufSerializer(); 122 // TODO remove deflateStream with next release of HEAL.Attic 123 using (var deflateStream = new DeflateStream(stream, CompressionMode.Decompress, true)) { 124 var item = (NamedItem)serializer.Deserialize(deflateStream, false); 125 OnSampleLoaded(item, group, 1.0 / count); 126 } 121 var item = (NamedItem)serializer.Deserialize(stream, false); 122 OnSampleLoaded(item, group, 1.0 / count); 127 123 } 128 124 }
Note: See TracChangeset
for help on using the changeset viewer.