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
fix: correct strategybuilder generics to match factory signature
Remove TNum generic parameter from StrategyBuilder and use outer class's T instead.
This fixes the type mismatch where Build() was trying to pass
Vector<IDistillationStrategy<Vector<TNum>, TNum>> to CreateStrategy which expects
Vector<IDistillationStrategy<T, Vector<T>>>.
Changes:
- Change StrategyBuilder<TNum> to StrategyBuilder (non-generic)
- Replace all TNum references with T from outer DistillationStrategyFactory<T>
- Update Configure() return type from StrategyBuilder<T> to StrategyBuilder
- Update all method return types from StrategyBuilder<TNum> to StrategyBuilder
This resolves the compilation blocker at line 311.
Resolves coderabbitai review comment on line 311.
0 commit comments