More fixes including Unit tests

This commit is contained in:
Jan Möbius
2016-11-07 14:52:07 +01:00
parent 7bcc3ec1a9
commit d966d44a3f
4 changed files with 6 additions and 6 deletions

View File

@@ -650,7 +650,7 @@ Tvv4<M>::raise(typename M::VertexHandle& _vh, state_t _target_state)
this->update(_vh, _target_state);
// multiply old position by 4
MOBJ(_vh).set_position(_target_state, MOBJ(_vh).position(_target_state - 1) * 4.0);
MOBJ(_vh).set_position(_target_state, MOBJ(_vh).position(_target_state - 1) * static_cast<typename M::Point::value_type>(4.0));
MOBJ(_vh).inc_state();
}