Skip to content

A problem when simulating with the option -F or --fast-forward #1335

Answered by zybzzz
LiyanChen-SJTU asked this question in Q&A
Discussion options

You must be logged in to vote

I looked at your code and the problem is that the CPUClass returned is a tuple and not a class instance, which causes the error to be reported. Please add CPUClass = CPUClass[0] before CPUClass.numThreads = numThreads and it will solve the problem, at least for me.

Also se.py is deprecated, try not to use it, the file looks like it hasn't been maintained for a long time.

Hope this helps.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@LiyanChen-SJTU
Comment options

@zybzzz
Comment options

Answer selected by LiyanChen-SJTU
@LiyanChen-SJTU
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants