You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to have an additional type similar to gap (not "weighted according to the length of the bin and pixel") where the value isn't locked to max 1.0?
Graph_tmp->values[index] = Min(Max(0.f, (f32)value + Graph_tmp->values[index]), 1.0f); // if set the value vector as f32 array, then we can not use the atomic operation. If mutil-thread is used, then we have to use the mutex to protect the values
lock.unlock();
}
elseif (data_type == data_type_dic["repeat_density"]){ // normalise the repeat density data by the length of the bin, and scale that into 0 - 100
Graph_tmp->values[index] += valueToAdd_f; // if set the value vector as f32 array, then we can not use the atomic operation. If mutil-thread is used, then we have to use the mutex to protect the values
lock.unlock();
}
The text was updated successfully, but these errors were encountered:
Would it be possible to have an additional type similar to gap (not "weighted according to the length of the bin and pixel") where the value isn't locked to max 1.0?
PretextGraph/PretextGraph.cpp
Lines 447 to 468 in cc5366d
The text was updated successfully, but these errors were encountered: