Skip to content

Commit 122a371

Browse files
committed
learn3 historyfull
1 parent b77b088 commit 122a371

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ratc/learn3.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
concore2.simtime = 0
1212

1313
fout=open(concore.outpath+'1/history.txt','w')
14+
fout2=open('historyfull.txt','a+')
1415
concore.default_maxtime(150)
1516
init_simtime_u = "[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]"
1617
init_simtime_ym = "[0.0, 0.0, 0.0]"
@@ -26,6 +27,7 @@
2627
ym = concore2.read(concore.iport["VPY"],"ym",init_simtime_ym)
2728
ymt[int(concore2.simtime)] = np.array(ym).T
2829
fout.write(str(u)+str(ym)+'\n')
30+
fout2.write(str(u)+str(ym)+'\n')
2931
print("retry="+str(concore.retrycount))
3032
fout.close()
3133

0 commit comments

Comments
 (0)