Skip to content

Commit 18afb9f

Browse files
committed
revert WG
1 parent b58a11b commit 18afb9f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/components/plots/AnalysisWG.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ const AnalysisWG = ({ setTexture, }: { setTexture: React.Dispatch<React.SetState
9898
}
9999

100100
// --- 2. Dispatch GPU computation based on the operation ---
101-
console.log("thisone")
102101
const inputArray = analysisMode ? analysisArray : await GetCurrentArray(analysisStore)
103102
const shapeInfo = { shape: dataShape, strides};
104103
const kernelParams = { kernelDepth, kernelSize };
@@ -205,7 +204,7 @@ const AnalysisWG = ({ setTexture, }: { setTexture: React.Dispatch<React.SetState
205204

206205
const is2D = outputShape.length === 2
207206
async function Analyze(){
208-
const dataArray = analysisMode ? analysisArray : await GetCurrentArray(analysisStore)
207+
const dataArray = analysisMode ? analysisArray : GetCurrentArray(analysisStore)
209208
const newArray = await CustomShader(dataArray, shapeInfo, kernelParams, axis, customShader?? "") as Float16Array
210209
const {minVal, maxVal} = valueScales
211210
const textureData = new Uint8Array(newArray.length)

0 commit comments

Comments
 (0)