[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 18 minutes and 54 seconds (queued for 4 seconds)
Child pipeline (parent) latest detached
Status Name Job ID Coverage
  Configure
passed configure #35847

00:02:21

 
  Linting
passed black (python) #35848

00:00:54

passed pylint-flake8 (python) #35851

00:00:08

 
  Select
passed select tests #35854

00:00:33

 
  Build
passed compile cpp #35857

00:11:04

 
  Test
passed test cpp #35860

00:04:44

passed test python #35863

00:00:21