Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 8e61eaf

Browse files
committed
WIP: Template immutable Moprhology for GlialCell
- All enable tests success
1 parent a00425c commit 8e61eaf

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

include/morphio/morphology.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace morphio {
1313

14-
// extern template class TTree<SectionType>;
15-
// extern template class TTree<GlialSectionType>;
1614

1715
class Morphology: public TTree<Node<CellFamily::NEURON>, Morphology, morphio::mut::Morphology> {
1816
public:

src/section.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace morphio {
88
template <typename Family>
99
typename Family::Type Node<Family>::type() const {
1010
return static_cast<typename Family::Type>(
11-
this -> _properties-> template get<Property::SectionType>()[0]
11+
this -> _properties-> template get<Property::SectionType>()[this->_id]
1212
);
1313
}
1414

0 commit comments

Comments
 (0)