Skip to content

Commit cbaf95a

Browse files
committed
fixed indexes
1 parent 31eb222 commit cbaf95a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

VSharp.Explorer/AISearcher.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ type internal AISearcher(oracle: Oracle, aiAgentTrainingMode: Option<AIAgentTrai
393393
index_pcToState[j] <- int64 pathConditionVerticesIds[pcId]
394394
index_pcToState[numOfParentOfEdges + j] <- int64 stateIds[state.Id])
395395

396-
firstFreePositionInPcToState <- firstFreePositionInPcToState + 1
396+
firstFreePositionInPcToState <- firstFreePositionInPcToState + state.PathCondition.Length
397397

398398
state.History
399399
|> Array.iteri (fun i historyElem ->

0 commit comments

Comments
 (0)