From a4c62b48e245e257da754aca60bbaa486980ca89 Mon Sep 17 00:00:00 2001 From: UmarAbubacar Date: Thu, 11 Jan 2024 20:53:44 +0000 Subject: [PATCH] Update ParaView version and fix uninitialized variable in NeuriteElement class --- cmake/external/ParaView.cmake | 6 +++--- src/neuroscience/neurite_element.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmake/external/ParaView.cmake b/cmake/external/ParaView.cmake index 4b56d59b4..6232fbaf3 100644 --- a/cmake/external/ParaView.cmake +++ b/cmake/external/ParaView.cmake @@ -7,11 +7,11 @@ if(APPLE AND "${DETECTED_ARCH}" STREQUAL "i386") # The build was fixed with a reupload and carries the additional tag cm233. SET(PARAVIEW_TAR_FILE paraview_v5.10.0_cm323_${DETECTED_OS_VERS}_default.tar.gz) elseif(APPLE AND "${DETECTED_ARCH}" STREQUAL "arm64") - SET(PARAVIEW_TAR_FILE paraview_v5.10.0_osx-13.4-arm64_default.tar.gz) + SET(PARAVIEW_TAR_FILE paraview_v5.10.0_${DETECTED_OS_VERS}_default.tar.gz) else() SET(PARAVIEW_TAR_FILE paraview_v5.9.0_${DETECTED_OS_VERS}_default.tar.gz) endif() -set(PARAVIEW_SHA_KEY osx-13.4-arm64-ParaView) +set(PARAVIEW_SHA_KEY ${DETECTED_OS_VERS}-ParaView) set(PARAVIEW_SHA ${${PARAVIEW_SHA_KEY}}) message(STATUS "Using ParaView tarball : ${PARAVIEW_TAR_FILE}") @@ -23,4 +23,4 @@ download_verify_extract( http://cern.ch/biodynamo-lfs/third-party/${PARAVIEW_TAR_FILE} ${PARAVIEW_SOURCE_DIR} ${PARAVIEW_SHA} -) +) \ No newline at end of file diff --git a/src/neuroscience/neurite_element.h b/src/neuroscience/neurite_element.h index b48bd7eb6..18cd134c4 100644 --- a/src/neuroscience/neurite_element.h +++ b/src/neuroscience/neurite_element.h @@ -478,7 +478,7 @@ class NeuriteElement : public Agent, public NeuronOrNeurite { Real3 position_ = {{0.0, 0.0, 0.0}}; /// This is the type of the mother neuron - real_t mother_cell_type_ = 0; + real_t mother_cell_type_ ; /// The uid of the mother neuron AgentUid mother_uid_;