Commit 25ad9cc9 authored by Alexander Wiebel's avatar Alexander Wiebel

[FIX] wrong intialization

parent 8b2e2f6f
......@@ -57,8 +57,8 @@ std::vector< WPosition > WVisiTrace::getLine()
void WVisiTrace::addCandidatesForRay( const std::vector< std::pair< double, WPosition > > candidates )
{
std::vector< double > opacityJumps( candidates.size() );
std::vector< WPosition > positions( candidates.size() );
std::vector< double > opacityJumps( 0 );
std::vector< WPosition > positions( 0 );
for( size_t id = 0; id < candidates.size(); ++id )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment