Open timothydmorton opened 3 years ago
This would clearly supersede #250 which was done on an older version.
Dear @timothydmorton , I am very sorry for not following up on this, the RealSpaceInterface went out of our mind for a few years. Your PR is incredibly useful. I checked that it still works with the current CLASS version. We will incorporate these fixes in the next CLASS release (sometimes soon) with some acknowledgements for your help.
The RealSpaceInterface doesn't work out of the box with python3. This fixes a number of things, including integer division and some type issues related to JSON encoding. Also makes the database pickle read/writes in binary, which also fixes some type issues.