PetaVision / OpenPV

PetaVision is a C++ library for designing and deploying large-scale neurally-inspired computational models.
http://petavision.github.io
Eclipse Public License 1.0
40 stars 13 forks source link

CloneV fix #282

Closed peteschultz closed 5 years ago

peteschultz commented 5 years ago

This pull request address more fully the issue addressed in https://github.com/PetaVision/OpenPV/pull/281. In the AllocateDataStructures stage, CloneInternalStateBuffer was not properly checking that the original layer had allocated before setting its data pointer to the original layer's data pointer.

This pull request does the following:

garkenyon commented 5 years ago

verified that this fixed seg fault during initialization (initialize state)