Multi-choice problem: does word "stick" have the same meaning in the following two sentences?

The policy so far is all stick and no carrot.

The recipe calls for half a stick of butter.

OPTIONS: (A). different meanings. (B). the same meaning.
(A).