Changeset 17374 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Converters/ValueTypeMatrixConverter.cs
- Timestamp:
- 12/06/19 14:39:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Converters/ValueTypeMatrixConverter.cs
r17342 r17374 18 18 public override JsonItem ExtractData(IItem value) => 19 19 new JsonItem() { 20 Name = "[OverridableParamName]", 20 21 Value = value.Cast<MatrixType>().CloneAsMatrix() 21 22 }; … … 27 28 var colInfo = matrix.GetType().GetProperty("Columns"); 28 29 colInfo.SetValue(matrix, data.GetLength(1)); 29 //matrix.Cast<dynamic>().Columns = data.GetLength(1); 30 30 31 for (int x = 0; x < data.GetLength(0); ++x) { 31 32 for (int y = 0; y < data.GetLength(1); ++y) {
Note: See TracChangeset
for help on using the changeset viewer.