Skip to content

Commit c12a365

Browse files
committed
WIP on feature/dirichletValues
1 parent 94329a7 commit c12a365

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

ikarus/python/assembler/flatassembler.hh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ void registerFlatAssembler(pybind11::handle scope, pybind11::class_<Assembler, o
114114
cls.def("requirement", [](Assembler& self) { return self.requirement(); });
115115
cls.def("affordanceCollection", [](Assembler& self) { return self.affordanceCollection(); });
116116
cls.def("dBCOption", [](Assembler& self) { return self.dBCOption(); });
117-
cls.def_property_readonly("size", &Assembler::size);
118-
cls.def("__len__", [](Assembler& self) -> int { return self.size(); });
117+
cls.def_property_readonly("size", &Assembler::size);
118+
cls.def("__len__", [](Assembler& self) -> int { return self.size(); });
119119
}
120120

121121
#define MAKE_ASSEMBLER_REGISTERY_FUNCTION(name) \
@@ -124,7 +124,6 @@ void registerFlatAssembler(pybind11::handle scope, pybind11::class_<Assembler, o
124124
registerFlatAssembler(scope, cls); \
125125
}
126126

127-
128127
MAKE_ASSEMBLER_REGISTERY_FUNCTION(SparseFlatAssembler);
129128
MAKE_ASSEMBLER_REGISTERY_FUNCTION(DenseFlatAssembler);
130129

ikarus/utils/dirichletvalues.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public:
137137
}
138138

139139
/**
140-
* \brief Fixes or unfixes (set boolean value to true or flase) a specific degree of freedom
140+
* \brief Fixes or unfixes (set boolean value to true or false) a specific degree of freedom
141141
*
142142
* \param i An index indicating the DOF number to be fixed
143143
* \param flag Boolean indicating whether the DOF should fixed or not

0 commit comments

Comments
 (0)