Skip to content

Commit 946a8d9

Browse files
committed
Fix serialization
1 parent 615a7c1 commit 946a8d9

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

VSharp.Explorer/Explorer.fs

+2-7
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,8 @@ type private SVMExplorer(explorationOptions: ExplorationOptions, statistics: SVM
4747

4848
let folderToStoreSerializationResult =
4949
match options.aiOptions with
50-
| Some ((Training trainingOptions)) ->
51-
let mapName =
52-
match trainingOptions with
53-
| SendModel aiAgentTrainingModelOptions ->
54-
aiAgentTrainingModelOptions.aiAgentTrainingOptions.aiBaseOptions.mapName
55-
| SendEachStep aiOptions -> aiOptions.aiAgentTrainingOptions.aiBaseOptions.mapName
56-
50+
| Some (DatasetGenerator aiOptions) ->
51+
let mapName = aiOptions.mapName
5752
getFolderToStoreSerializationResult
5853
(Path.GetDirectoryName explorationOptions.outputDirectory.FullName)
5954
mapName

0 commit comments

Comments
 (0)