add a default weight_size
Created by: jmitrevs
Description
It's possible to read the variable before writing. This sets a default value
Type of change
-
Bug fix (non-breaking change that fixes an issue)
Tests
Standard tests should be enough
Checklist
-
I have read the guidelines for contributing. -
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.