Add precision inherition for when generating stream clone
Created by: calad0i
A# Description
Based on #906
When creating cloned streams, use the precision of the stream being cloned. Currently, the precision is model_default
without any special tweak.
Type of change
-
Bug fix (non-breaking change that fixes an issue)
Tests
test/pytest/test_stream_clone.py
Merged with tests from #906.
Checklist
-
I have read the guidelines for contributing. -
I have commented my code, particularly in hard-to-understand areas. -
I have made corresponding changes to the documentation. -
My changes generate no new warnings. -
I have installed and run pre-commit
on the files I edited or added. -
I have added tests that prove my fix is effective or that my feature works.