[bugfix] Fix PrimaryVariablesSwitch::reset()

resize() does not reset the existing values.
Use assign instead to resest all of the vector's elements.
7 jobs for !2812 with fix/wasswitched in 15 minutes and 27 seconds (queued for 5 seconds)
Child pipeline (parent) latest detached
Status Name Job ID Coverage
  Configure
passed configure #35842

00:03:06

 
  Linting
passed black (python) #35843

00:00:24

passed pylint-flake8 (python) #35844

00:01:02

 
  Select
passed select tests #35845

00:01:41

 
  Build
passed compile cpp #35846

00:08:27

 
  Test
passed test cpp #35850

00:02:12

passed test python #35853

00:00:35