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
// display mutations as a haplotype plot, courtesy of QtSLiMHaplotypeManager; we use ClusterNearestNeighbor and
88
87
// ClusterNoOptimization because they're fast, and NN might also provide a bit more run-to-run continuity
89
-
// we cache the haplotype manager here, so our display remains constant across window resizes and other
90
-
// invalidations; we toss the cache only when the simulation tells us that the model state has changed
91
-
if (!haplotype_mgr_)
92
-
{
93
-
size_t interiorHeight = static_cast<size_t>(interiorRect.height()); // one sample per available pixel line, for simplicity and speed; 47, in the current UI layout
size_t interiorHeight = static_cast<size_t>(interiorRect.height()); // one sample per available pixel line, for simplicity and speed; 47, in the current UI layout
// display mutations as a haplotype plot, courtesy of QtSLiMHaplotypeManager; we use ClusterNearestNeighbor and
85
84
// ClusterNoOptimization because they're fast, and NN might also provide a bit more run-to-run continuity
86
-
// we cache the haplotype manager here, so our display remains constant across window resizes and other
87
-
// invalidations; we toss the cache only when the simulation tells us that the model state has changed
88
-
if (!haplotype_mgr_)
89
-
{
90
-
size_t interiorHeight = static_cast<size_t>(interiorRect.height()); // one sample per available pixel line, for simplicity and speed; 47, in the current UI layout
size_t interiorHeight = static_cast<size_t>(interiorRect.height()); // one sample per available pixel line, for simplicity and speed; 47, in the current UI layout
0 commit comments